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

PROGRAMMING:Output month

Luz5年前 (2021-05-10)题库462
Using if and switch to write the program fragment that converts the integer from 0 to 11 into December, assuming that the number 0 corresponds to January.
###Input format:
Enter a number between 0 and 12 on each line
###Output format:
Output the month corresponding to the number
###Input example:
```in
0
```
###Output example:
```out
Please enter the month:
two
March
Please enter the month:
twelve
Please re-enter the month
```






answer:If there is no answer, please comment