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

PROGRAMMING:Input a number and output the English word of the corresponding day of the week.

Luz5年前 (2021-05-10)题库388
According to the input integer data x, its value range is 1 ~ 7. 1 represents Monday, 2 represents Tuesday,..., 7 represents Sunday. If the integer x > 7 or x < 0 is entered, an error message will be given.
###Input sample 1:
```in
one
```
###Output sample 1:
```out
Monday
```
###Input sample 2:
```in
eight
```
###Output sample 2:
```out
Input error!
```







answer:If there is no answer, please comment