Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Write a program for scheduling a doctors daily schedule. You will need to use the concepts of classes and top-down design. The list of

C++

Write a program for scheduling a doctors daily schedule. You will need to use the concepts of classes and top-down design.

The list of requirements and constraints for the system are as follows:

1. The system must be able to manage multiple patients and doctors.

2. For each doctor, the system records the doctors name, age, and a specialty. NOTE: the files DoctorList.h & .cpp and PatientList.h & .cpp have static arrays that have been prepopulated with unique names for the doctors and patients for your convenience. These arrays, since they are static, can be accessed in any source file that includes the .h file.

3. The names of all patients and doctors are unique and can be used to locate the information on a specific patient or doctor.

4. Each doctor has a maximum of eight appointments in a day, each an hour long, with the workday starting at 08:00AM. It is the responsibility of the user to schedule appointments with a doctor.

5. The user can add an appointment by indicating the doctor, the time slot, and the patient. This action fails if the selected time slot is already filled.

6. The user can remove an appointment by indicating the doctor and the time slot that should be freed.

7. User can print all patient information.

8. User can print all doctor information, including a list of their timeslots and their status (if they are free or the name of the patient that they will see during that appointment).

9. User can enter name of doctor and a time slot to see if that appointment time is available.

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

PC Magazine Guide To Client Server Databases

Authors: Joe Salemi

1st Edition

156276070X, 978-1562760700

More Books

Students also viewed these Databases questions

Question

Understand why succession management is important.

Answered: 1 week ago