A hospital wishes to maintain database of all the doctors and the patients in the hospital. For each doctor, the hospital is required to store the following information: 1. Name of the doctor 2. ID of the doctor 3. Telephone number of the octor Also, for each patient, the hospit is required to maintain the following information: 1. Name of the patient 2. Ward number in which he patient is admitted 3. Fees charged to the pat :nt 4. ID of the doctor who is treating the patient Write a C++ program that will create necessary classes to store this data.
A hospital wishes to maintain database of all the doctors and the patients in the hospital. For each doctor, the hospital is required to store the following information: 1. Name of the doctor 2. ID of the doctor 3. Telephone number of the octor Also, for each patient, the hospit is required to maintain the following information: 1. Name of the patient 2. Ward number in which he patient is admitted 3. Fees charged to the pat :nt 4. ID of the doctor who is treating the patient Write a C++ program that will create necessary classes to store this data.
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning