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

分类:

技术点:

相关文章:

  • 2022-02-20
  • 2022-01-21
  • 2022-01-18
  • 2022-02-21
  • 2021-12-13
  • 2021-11-01
  • 2021-09-30
  • 2021-12-11
猜你喜欢
  • 2021-07-23
  • 2021-07-08
  • 2022-02-25
  • 2022-01-02
  • 2021-12-02
  • 2022-02-21
  • 2021-08-09
相关资源
相似解决方案