C++ OOPs exercise
Write a C++ program to store the details of a patient.
Create a class patient which has the fields name, id, disease and medicine.
Input the name, id and disease from the user and assign a medicine to this patient.
display all the details of the patient including the medicine prescribed.
Solution: