2013年10月14日

实验3-1

摘要: #includeint main(){ double r,s; /*定义两个变量*/ printf("Enter r:"); scanf("%Lf",&r); if(r<=0) { printf("Sorry! it is wrong!"); } else { s=3.1415926*r*r; printf("s=%.2f\n",s); } return 0;} 阅读全文

posted @ 2013-10-14 09:30 大叔控727 阅读(69) 评论(0) 推荐(0) 编辑

导航