Area of circle:
area=3.14*r%r;
-Here r is the radius of the circle.
program-
#include< stdio.h>
int main() {
int r;
float area;
printf("Enter radius\n");
scanf("%d",&r);
area=3.14*r*r;
printf("Area of Circle is %f",area);
}
Enter radius
3
Area of Circle is 28.260000