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

PROGRAMMING:Finding the volume of a cone

Luz5年前 (2021-05-10)题库432
Write a program to calculate the volume of the cone according to the radius R (integer) and height h (integer) of the cone bottom input by the user. The value of PI is 3.14159. The calculation formula of cone volume is as follows:
![ Cone volume formula. JPG] (~ / 21cfb1f9-1187-4063-8291-e99f554c2b5b. JPG)
###Input format:
Enter radius R (integer) and high H (integer).
###Output format:
Output the volume of the cone, and keep 2 decimal places.
###Input example:
```in
10 15
```
###Output example:
```out
v=1570.79
```







answer:If there is no answer, please comment