摘要:
#includeint main(){ int i,n; double r,h,radius,height,volume; double cylinder(double r,double h); printf("Enter n:"); scanf("%d",&n); for(i=1;i<=n;i++){ printf("Enter r and h:"); scanf("%lf%lf",&r,&h); if((r<=0)||(h<=0)){ printf("输入错误 阅读全文