Sunday, 7 April 2013

programe to find area of circle in C


#include<stdio.h>
#include<conio.h>
#define pi 3.1415
void main()
{
float  r,a;
printf("enter the radius");
scanf("%f",&r);
a=pi*r*r;
printf("\n AREA of Circle is = %.2f",a);
getch();
}

No comments:

Post a Comment