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

PROGRAMMING:Test scores correspond to grades

Luz5年前 (2021-05-10)题库372
Enter a percentage system integer score to get the corresponding grade score.
It is known that the corresponding relations between them are: [0,60] - unqualified (please output - 1), [60,90] - qualified (please output 0),
[90100] - excellent (please output 1).
###Input format:
Enter an integer.
###Output format:
Output - 1 or 0 or 1.
###Input sample 1:
```in
fifty
```
###Output sample 1:
```out
-1
```
###Input sample 2:
```in
eighty
```
###Output sample 2:
```out
0
```
###Input sample 3:
```in
ninety-nine
```
###Output sample 3:
```out
one
```







answer:If there is no answer, please comment