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

PROGRAMMING:According to the input number, output the number of classes.

Luz5年前 (2021-05-10)题库345
This topic requires reading in an integer between 1 and 7 (regardless of the input error), and then output the number of sections to be taught, corresponding to the following:
*There are eight classes on Monday
*2 Tuesdays 10 classes
*6 classes on 3 Wednesdays
*Four Thursdays, eight classes
*Five Fridays, six classes
*There is no class today, you can have a good rest!
*There is no class today, you can have a good rest!
###Input format:
For example: 1
###Output format:
8 classes on Monday (there is a space between 1 and 8)
###Input example:
```in
one
```
###Output example:
```out
There are eight classes on Monday
```







answer:If there is no answer, please comment