Program in C to calcuulate the area of circle

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

void main ()
{
float r,c;
clrscr();
printf ("Enter Radius: ");
scanf ("%f",&r);
c=3.14*r*r;
printf ("\nArea is : %.2f",c);
getch ();
}


Post a Comment