Best collection of C programs
Showing posts with label
AREA OF CIRCLE
.
Show all posts
Showing posts with label
AREA OF CIRCLE
.
Show all posts
Tuesday, January 4, 2011
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
Older Posts
Home
Subscribe to:
Posts (Atom)