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
Free C programs with output, C++ (C plus plus), programs c programming language, object oriented programming, c programs codes, c program shortcuts, history of c programming language, c programming compilers
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