Area of circle in c Language

Program for calculating area of circle

#define PI 3.14
#include<stdio.h>
void main()
{
   float r=5.25;
   float area;
   area = PI*r*r;
   printf("\n Area of a circle = %f", area);
}

kabeer

Added  Jul 24, 01:39 am

Article tags

×
Google login
SignUp with Email
X