Write a C program to find the area(area) of a circle. Where Radius (r) is input by the user. (area = 3.14 * r *r)
Answers
Answered by
3
Answer:
#include<studio.h>
#include<conio.h>
#define pi 3.14
void main()
{
float radius,area;
printf("enter the radius value");
scanf("%f",& radius);
area= pi*radius*radius;
printf("the area of circle : %0.4f\n",area);
getch();
}
Similar questions