2013djj

#include<stdio.h>
int main(void)
{
   
double r,h,v;
   
    printf(
"Enter r,h:");
    scanf(
"%lf%lf",&r,&h);
    
   
if(r<0,h<0){
       printf(
"sorry you enter is wrony!\n");

    }
   
   
else{
        v
=3.1415926*r*r*h;
        printf(
"%.3f\n",v);
      } 
    }

   

分类:

技术点:

相关文章:

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