wenhuan

#include <stdio.h>
#define  PI 3.14159
void main()
{
   double r,h,v;
   printf("请输入圆柱体的半径和高(用,号隔开)\n");
   scanf("%lf,%lf",&r,&h);
   v=PI*r*r*h;
   printf("圆柱形的体积为:%lf\n",v);
}

分类:

技术点:

相关文章:

猜你喜欢
相关资源
相似解决方案