#include#define PI 3.1415void main(){float r,h;printf("请输入半径和高:");scanf("%f %f",&r,&h);printf("圆柱的表面积为:%.2f\n",2*PI*r*h+2*PI*r*r);printf("圆柱的体积为:%.2f\n",PI*r*r*h);}