2013年10月16日
摘要: #includeint main(){ int i,n; double r,v,h; double cylinder(double r,double h); /*自定义函数*/ printf("enter n:"); scanf("%d",&n); for(i=1;i<=n;i++){ printf("Enter r and h:\n"); /*进入循环*/ scanf("%lf%lf",&r,&h); if((r<=0)||(h<=0)) { ... 阅读全文
posted @ 2013-10-16 21:15 yy99 阅读(161) 评论(0) 推荐(0) 编辑