Create a structure to store the date year month and date as


Program

A Hospital wants to create a database regarding its indoor patients. The information to store include 

a) Name of the Patient
b) Date of Admission
c) Disease
d) Date of Discharge

Create a structure to store the date (year, month and date as its members). Create a base class to store the above information. The member function should include functions to enter information and display a list of all the patients in the database. Create a derived class to store the age of the patients. List the information about all the to store thje age of the patients. List the information about all the pediatric patients(less than twelve years in age)

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Create a structure to store the date year month and date as
Reference No:- TGS01475499

Now Priced at $10 (50% Discount)

Recommended (97%)

Rated (4.9/5)