标签:io amp ef sp print c ca include
#include <stdio.h>
#define PI 3.14159
void main()
{
int r=0,h=0,v=0;
printf("请输入圆柱体的周长和高(用,号隔开)\n");
scanf("%d,%d",&r,&h);
v=PI*r*2*h;
printf("圆柱形的体积为:%d\n",v);
}
标签:io amp ef sp print c ca include
原文地址:http://www.cnblogs.com/wenhuan/p/3911216.html