Area of Circle in C-language :
C Program to find Area of Circle,
In this Program Pi(π) is assumed to be 3.14159.
PROGRAM to find Area of Circle:
#include<stdio.h>
void main()
{
float Radius, Area;
printf("Enter Radius of the circle: ");
scanf("%f", &Radius);
// Formula (Area of Circle = π . Radius ² )
Area = 3.14159*Radius*Radius;
printf("\nThe Area of Circle is = %f",Area);
}
OUTPUT :-
Enter Radius of the circle: 10
The Area of Circle is = 314.158997

R
ReplyDeleteWhat you want to say?
Delete