Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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 Open

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions

Question

explain what is meant by redundancy

Answered: 1 week ago