C program to find area and circumference of circle


#include
void main()
{
 float r;p
 printf("enter radius\n");
 scanf("%f",&r);
 printf("area is %f and circumference is %f\n",3.14*r*r,2*3.14*r);

}


Output:

C program to find area and circumference of circle C program to find area and circumference of circle Reviewed by Prashant Sengar on December 20, 2017 Rating: 5

No comments:

Powered by Blogger.