//Program 3 : Area of Circle from Radius
//Downloaded from www.c4cprog.co.nr
#include<conio.h>
#define pi 3.14
void main()
{
int r;
float a,c;
clrscr();
printf("Enter The Radius \n");
scanf("%d",&r);
a=pi*r*r;
c=2*pi*r;
printf("The Area is : %f",a);
printf("\nThe Circumference is : %f",c);
getch();
}
Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]
Area Of Circle
Click Here To Download C File Of This Program
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment