Write a pragram to input a number 1 to 7 from the keyboard, where 1 represents Sunday, 2 Monday, 3 Tuesday, etc. Display the day of week corresponding to the number typed by the user. If the user types a number outside the range 1 to 7,display an error message.
Write a pragram to input a number 1 to 7 from the keyboard, where 1 represents Sunday, 2 Monday, 3 Tuesday, etc. Display the day of week corresponding to the number typed by the user. If the user types a number outside the range 1 to 7,display an error message.
发布时间:2025-07-12 08:08:59