Question
Create a program that simulates a weekly meeting reservation system. Part 1: 1)The program shall allow the user to select from the following options: a.
Create a program that simulates a weekly meeting reservation system.
Part 1:
1)The program shall allow the user to select from the following options:
a. Create a new meeting
b. Show meetings for the week
c. Clear meetings for the week
2)Each meeting has a subject, day of the week, start time and end time
a. Subject is a short text description of the meeting
b. Day of the week is a number from 1 to 7 (day 1, day 2, , day 7)
c. Start time are numbers simulating military time. For example, 9:30am would be 930, 1:15pm would be 1315. The range for time is from 0 to 2359
3) When the user wants to create a new meeting, the program asks for the subject, day of the week, start and end times for it and adds it to the weekly calendar
a. Meetings are not allowed to overlap. For example, if a meeting is already scheduled to start at 1400 and end at 1530, a new meeting scheduled from 1300 to 1430 would not be allowed
b. Meetings are not allowed to go into the next day. For example, if a user attempted to start a meeting at 2330 and end at 200, that meeting would not be allowed
4) When the user wants to show all meetings for the week, the report displays all meetings each day as follows
a. Show each day of the week from 1 to 7
b. For each day, show all meetings scheduled and the total number of meetings for that day
c. At the end of the report, show the total number of all meetings for the week
5) When the user wants to clear meetings for the week, all meetings scheduled are deleted
6) The user can do any of these options at any time until they want to exit the program
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started