#include<stdio.h>
int main()
{
double r,h,v;
printf("please input radius and height ");
scanf("%lf%lf",&r,&h);
v=areaZ(r,h)
printf("The cone's v is %.2lf\n",v);
system("pause");
v=h*3.14*r*r/3;
return v;
}
#include<stdio.h>
int main()
{
double r,h,v;
printf("please input radius and height ");
scanf("%lf%lf",&r,&h);
v=areaZ(r,h)
printf("The cone's v is %.2lf\n",v);
system("pause");
v=h*3.14*r*r/3;
return v;
}