we can share the knowledge with our friends. So they can share with their friends. and so on...
Finally You can turn back ...how many of them stand behind you....
Monday, January 4, 2010
Program to find area and circumference of circle.
#include
#include
void main()
{
int r;
float pi=3.14,area,ci;
clrscr();
printf("enter radius of circle: ");
scanf("%d",&r);
area=pi*r*r;
printf("area of circle=%f",area);
ci=2*pi*r;
printf("circumference=%f",ci);
getch();
}
No comments:
Post a Comment