raorafay-dev/DSA-Lab-1
Write a class Patient that has following data members Name (string), type e.g in – patient, outpatient (string), Number of days (int). Write another class Hospital that has following data members patient Ob.(patient), meditation-charges (int), daily rate (double) and hospital charges(int). Make overloaded constructors in both classes. First, the program should ask if the patient was admitted as an in-patient or an out-patient. If the patient was an in-patient, the following data should be entered: 1. The number of days spent in the hospital 2. The daily rate 3. Hospital medication charges 4. Charges for hospital services (lab tests, etc.)
C++
No issues in this repository yet.