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

PROGRAMMING:C programming experiment 1-3-2

Luz5年前 (2021-05-10)题库400
Calculate the volume and surface area of the ball: refer to example 3.5 program, using const constant 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 surface area and volume of the ball are output in different rows, with two decimal places reserved. See the output example.
###Input example:
Here is a set of inputs. For example:
```in
two
```
###Output example:
```out
s=50.27
v=33.51
```







answer:If there is no answer, please comment