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);
}

分类:

技术点:

相关文章:

  • 2021-09-17
  • 2021-12-16
  • 2021-08-11
  • 2021-11-02
  • 2021-11-10
  • 2021-10-15
  • 2021-05-27
  • 2021-09-27
猜你喜欢
  • 2021-08-28
  • 2021-08-28
  • 2018-04-23
  • 2021-11-10
  • 2021-11-10
  • 2021-04-05
  • 2021-12-18
相关资源
相似解决方案