Anonymous

Write A C Program To Find The Area Of Circle?

1

1 Answers

Anonymous Profile
Anonymous answered
#include
#include
void main()
{
int r;
int pi=3.14;
float cir,area;
clrscr();
printf("/n enter the radius of the circle;");
scanf("%d,"&r);
cir=2*pi*r;
area=pi*r*r;
printf("the circumference of the circle is%d",cir);
printf('the area of the circle is %d",area);
getche ();
}

Answer Question

Anonymous