1127,代码:
#include<stdio.h>
#define PI 3.14
int main()
{
float r,h;
double C1,Sa,Sb,Va,Vb;
scanf("%f%f",&r,&h);
printf("C1=%.2f\n",2*PI*r);
printf("Sa=%.2f\n",PI*r*r);
printf("Sb=%.2f\n",4*PI*r*r);
printf("Va=%.2f\n",4*PI*r*r*r/3);
printf("Vb=%.2f\n",PI*r*r*h);
return 0;
}