#include
int main()
{
double r, H;
double l ,s, s_b ,v ,v_z;
scanf("%lf",&r);
scanf("%lf",&H);
l=2*3.14*r;
printf("圆的周长是 %lf\n",l);
s=r*r*3.14;
printf("圆的面积是 %lf\n",s);
s_b=4*3.14*r*r;
printf("球的表面积 %lf\n",s_b);
v=4/3*3.14*r*r*r;
printf("球的体积 %lf\n",v);
v_z=r*r*3.14* H;
printf("圆柱的体积 %lf\n",v_z);
return 0;
}
阅读(1384) | 评论(0) | 转发(0) |