标签:blog http io sp 2014 log bs amp tt
#include <stdio.h>
void main()
{
int a,b,c,y,g,f;
printf("圆柱底面的半径,圆柱的高");
scanf("%d %d",&a,&b);
c=2*3.14*a;
y=3.14*a*a;
g=c*b;
f=2*y+g;
printf("圆柱底面的周长为%d",c);
printf("圆柱底面的面积为%d",y);
printf("圆柱的侧面面积为%d",g);
printf("圆柱的面积为%d",f);
}
标签:blog http io sp 2014 log bs amp tt
原文地址:http://www.cnblogs.com/2041388565m/p/4085726.html