C Programming
Posted: Tue Jul 12, 2022 8:17 am
C Programming
Q1: The follow is the course schedule of next week. We hope to build a small project tohelp user to search the schedule by entering day (1-7) and time (0-23). Monday Written [8-10) [10-12) [12-14) [14-16) Math [16-18) Tuesday Chemistry Soccer Wednesday Math Thursday Friday Chemistry Swim Chinese Basketball For example: 1. If the user enter day as Monday and time as 9, then "It's Monday. You will have a written course at this moment." should be displayed on the monitor; 2. If the user enter day as Tuesday and time as 12, then "It's Tuesday. No course."should be displayed on the monitor; 3. If the user enter day as Wednesday and time as 14, then "It's Wednesday. Youwill have a math course at this moment." should be displayed on the monitor. 4. If the user enter day as Saturday/Sunday, then “It's Saturday/Sunday. Nocourse. It is weekend." should be displayed on the monitor.
Q1: The follow is the course schedule of next week. We hope to build a small project tohelp user to search the schedule by entering day (1-7) and time (0-23). Monday Written [8-10) [10-12) [12-14) [14-16) Math [16-18) Tuesday Chemistry Soccer Wednesday Math Thursday Friday Chemistry Swim Chinese Basketball For example: 1. If the user enter day as Monday and time as 9, then "It's Monday. You will have a written course at this moment." should be displayed on the monitor; 2. If the user enter day as Tuesday and time as 12, then "It's Tuesday. No course."should be displayed on the monitor; 3. If the user enter day as Wednesday and time as 14, then "It's Wednesday. Youwill have a math course at this moment." should be displayed on the monitor. 4. If the user enter day as Saturday/Sunday, then “It's Saturday/Sunday. Nocourse. It is weekend." should be displayed on the monitor.