4
.
|
To find volume of circle.
Formula V = 4/3 *pie * r3 where pie= 22/7 and r is radius of circle.
|
#include<stdio.h>
#include<conio.h>
void main()
{
float r;
float pi=3.14;
clrscr();
printf("Enter The Value
Of Radius");
scanf("%f",&r);
c=(4/3)*pi*r*r*r;
printf(“the Volume of circle
is=%d”,c);
getch();
}
Comments
Post a Comment