Question
Consider the following scenario: Dental group service has hired you to create a new tracking system. They have 2 types of appointments: Cleaning and Procedures.
Consider the following scenario:
Dental group service has hired you to create a new tracking system.
They have 2 types of appointments: Cleaning and Procedures.
There are a maximum of 5 appointments for Cleaning and 5 appointments for Procedures, but only 8 total appointments can be made for a single day
A Cleaning appointment cannot be scheduled for appointment #8 and a Procedure cannot be scheduled for appointment 1 and appointment 2.
We will only schedule and test two days of worth appointments for this Assignment, but you should size your application for 365 days.
Application Design requirements:
Create a C# application that prompts the user for the appointment type (Cleaning or Procedure), appointment time (morning or afternoon), the day (Monday or Tuesday), and reserves that appointment.
For each appointment attempt you should refresh (clear) the screen, display message telling the user that the appointment was accepted or is Not available and print out the entire appointment schedule for the two days as shown in the example below. You should also have a display option so that the appoint list may be viewed prior to selection of an appointment.
The appointments should be handled by the Appointment class that uses a 3 dimension array. (For example (only): Array[day][time][type] ). Note Appointments 1 to 4 are considered Morning appointments and 5 to 8 are considered Afternoon appointments.
ample of output screen. our appointment for Monday Morning Slot 2, Cleaning was confirmed Monday Appointment# Type Cleaning Cleaning Procedures Open Open Open Open Open 4 6 Tuesday Appointment# Type 2 4 6 Cleaning Open Open Open Open Open Open Open ample of output screen. our appointment for Monday Morning Slot 2, Cleaning was confirmed Monday Appointment# Type Cleaning Cleaning Procedures Open Open Open Open Open 4 6 Tuesday Appointment# Type 2 4 6 Cleaning Open Open Open Open Open Open OpenStep 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