-->
当前位置:首页 > 题库

PROGRAMMING:Calculating the volume of a cone

Luz5年前 (2021-05-10)题库404
Please write a program to input the radius R (CM) and height h (CM) of the base circle of the cone, calculate and output the volume V (cm3) of the cone. PI is defined as 3.14159.
![ Cone. JPG] (~ / 84b25ea0-c363-46f3-a2f0-2eace91f8222. JPG)
###Input format:
Enter integer R and integer h, separated by spaces
###Output format:
Output cone volume V, output format "V = volume", the result retains 2 decimal places.
###Input example:
```in
2 6
```
###Output example:
```out
v = 25.13
```







answer:If there is no answer, please comment