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

PROGRAMMING:Example 4-3 reconstruction budget of swimming pool

Luz5年前 (2021-05-10)题库436
Example 4-3 a circular swimming pool is shown in the picture. Now it is necessary to build a circular passageway around it and fence around it. The price of the fence is 35 yuan / m, and the cost of the corridor is 20 yuan / m2. The width of the aisle is 3 meters, and the radius of the swimming pool is input by the keyboard. Require programming to calculate and output the cost of aisle and fence.
![ 7a08ad96-69ef-42b8-9889-114a2010c7a0.png](~/5d97d9b4-89d1-47c0-9005-a326f53eeee2.png)
###Input format:
Enter an integer or decimal.
###Output format:
Output in two lines: output the cost of the fence in the first line. The cost of the output aisle on the second line.
###Input example:
```in
ten
```
###Output example:
```out
Fencing Cost is $2858.85
Concrete Cost is $4335.4
```







answer:If there is no answer, please comment