ads

Sunday, 28 August 2016

c program to find area of a circle

#include<stdio.h>
#include<conio.h>
void main()
{
 int radius;
 float area;
 printf("enter the radius:");
 scanf("%d",&radius");
 area=3.142 * r * r;
 printf("area of a circle:%f",area);
 getch();
} 

No comments:

Post a Comment