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

PROGRAMMING:Calculation of sewage treatment fee

Luz5年前 (2021-05-10)题库423
Gradient charging system is adopted for sewage treatment in a residential area. When a household's sewage does not exceed 10 cubic meters (including 10 cubic meters), the sewage charge per cubic meter is 2 yuan; When the user uses more than 10 cubic meters of sewage, the cost of the excess is 3 yuan per cubic meter
###Input format:
Enter an integer greater than or equal to 0 and less than or equal to 100
###Output format:
Cost of direct export sewage treatment
###Input example:
Here is a set of inputs. For example:
```in
nine
```
###Output example:
The corresponding output is given here. For example:
```out
eighteen
```
###Input example:
Here is a set of inputs. For example:
```in
ten
```
###Output example:
The corresponding output is given here. For example:
```out
twenty
```
###Input example:
Here is a set of inputs. For example:
```in
eleven
```
###Output example:
The corresponding output is given here. For example:
```out
twenty-three
```







answer:If there is no answer, please comment