不报错,但无法算圆锥体积
问题描述:
答
v = 1.0/3rr*h;
#define pi 3.14159
int main() {
double r,h,v;
cin >> r >> h;
v = 1.0/3*r*r*h;
std::cout << v;
}