用C语言计算圆的面积~!!!!!!!时间:2023-03-09 02:20:41 #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); }