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

PROGRAMMING:Calculating the volume of a sphere

Luz5年前 (2021-05-10)题库446
Let the radius of the sphere be r, then calculate and output the volume V of the sphere. 2 decimal places are reserved for the output. Tip: the formula for calculating the volume of a sphere is: $$v = [frac43] PI R ^ 3 $$($$$pi = 3.14 $$)
###Input format:
Enter the first line to give a positive integer radius R (0 < R ≤ 100).
###Output format:
The volume V of the sphere is kept to two decimal places.
###Input example:
```in
five
```
###Output example:
```out
v = 523.33
```







answer:If there is no answer, please comment