#include
int main()
{
float r,h;
double l,S,S_b,V1,V2,y_z;
scanf("%f %f",&r,&h);
l=2*3.14* r;
S=3.14*r*r;
S_b=4*3.14*r*r;
V1=4/3*3.14*r*r*r;
V2=3.14*r/180;
y_z=3.14*r*r*h;
printf("圆的周长为%lf\n",l);
printf("圆的面积为%lf\n",S);
printf("圆的表面积为%lf\n",S_b);
printf("圆柱的体积为%lf\n",V1);
printf("扇形的弧长为%lf\n",V2);
printf("圆锥的体积为%lf\n",y_z);
return 0;
}
阅读(1165) | 评论(1) | 转发(0) |