Program to find the area of circle
#include<stdio.h>
main()
{
printf("FIND AREA OF CIRCLE\n");
float r,pi=3.14,area;
printf("Enter the value for radius : ");
scanf("%f",&r);
area=pi*r*r;
printf("\nArea of circle is :%.2f",area);
getch();
}
Comments
Post a Comment