Tuesday, August 28, 2007

AREA OF CIRCLE

WAP to find out areA of circle

#include

void main ()

{

float r,c;

clrscr();

printf ("Enter Radius: ");

scanf ("%f",&r);

c=3.14*r*r;

printf ("\nArea is : %.2f",c);

getch ();

}


Output


No comments:

Post a Comment