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

PROGRAMMING:C programming experiment 1-3-1

Luz5年前 (2021-05-10)题库374
Calculate the volume and surface area of the ball: refer to example 3.4 program, use macro definition π( The surface area and volume of the ball are calculated and output by programming, and the value of the ball radius R is input by the user from the keyboard.
###Input format:
Enter the radius of a circle, which can be a real number.
###Output format:
The volume and surface area of the ball are output in different rows, with two decimal places reserved. See the output example.
###Input example:
```in
two
```
###Output example:
```out
s=50.27
v=33.51
```







answer:If there is no answer, please comment