Write a Program to calculate area of circle in c

#include<stdio.h>
#include<conio.h>

void main()
{
float rad,area;

printf("\n\n Enter the Radius of Circle:");
scanf("%f",&rad);

area=3.14*rad*rad;

printf("\n\nArea of Circle is=%f",area);
getch();

}

Previous
Next Post »