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

PROGRAMMING:Five point score (function realization)

Luz5年前 (2021-05-10)题库399
Write function, parameters for a test of 100 points, return 5 points.
Requirements: the percentage score is an integer, and the total score of 100 is converted into 5 points; If the input integer exceeds the range of 0-100, return - 1.
The score returns 0 in [0,10], 1 in [10,40], 2 in [40,60], 3 in [60,70], 4 in [70,80] and 5 in [80100].
###Input example:
```in
eighty-five
```
###Output example:
```out
five
```







answer:If there is no answer, please comment