📅  最后修改于: 2022-03-11 15:04:37.558000             🧑  作者: Mango
#include
int main()
{
float vol,r,h;
printf("enter radius: ");
scanf("%f",&r);
printf("enter height: ");
scanf("%f",&h);
vol=(22*r*r*h)/7;
printf("VOC: %f\n",vol);
return 0;
}