Write a program find out the area of a circle.
Program:
#include<stdio.h>
main(){
float r,area;
printf("Enter redious of circle = ");
scanf("%f", &r);
area=3.1416*r*r;
printf("Area of circle is : = %.2f", area);
}
Program:
#include<stdio.h>
main(){
float r,area;
printf("Enter redious of circle = ");
scanf("%f", &r);
area=3.1416*r*r;
printf("Area of circle is : = %.2f", area);
}