发布时间:2014-11-27 22:40:47
#include <stdio.h>int main(){float r, h;float l, S, b_j, V, y_j;scanf("%f%f",&r,&h);l=2*3.14*r;S=3.14*r*r;b_j=4*3.14*r*r;V=3*3.14*r*r*r;y_j=3.14*r*r*h;printf("圆的周长:%2.2f\n",l);printf("圆的面积:%2.2f\n" ,S);printf("圆的表面积:%2.2f\n", b_j);printf("圆的体积:%2.2f\n", V);.........【阅读全文】