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

PROGRAMMING:Grade five

Luz5年前 (2021-05-10)题库428
###Task description
The five level system can be understood as follows: a represents [90-100], B represents [80-90], C represents [70-80], D represents [60-70], and e represents [0-60].
Give five grades (one character), please output the score range represented by this character.
###Input format:
A capital English character representing the grade of the five level system.
###Output format:
Output the integer score range represented by the score in one line. If the character is not within the range defined by the five level system, output: error.
###Input sample 1:
```in
A
```
###Output sample 1:
```out
[90-100]
```
###Input sample 2:
```in
D
```
###Output sample 2:
```out
[60-70)
```
###Input sample 3:
```in
X
```
###Output sample 3:
```out
ERROR
```







answer:If there is no answer, please comment