Subscribe to Feeds

Send Your Projects To georgepj@hotmail.com

We'll Publish It With Your Name :-)

Programs Can Also Be Downloaded From The Folders Below....[Or Scroll Down]

Area Of Circle

Click Here To Download C File Of This Program

 //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();
}

0 comments:

Post a Comment