Design a Patient class for a renowned Hospital by reading the details like Patient id, name, weight, height, age, date of admission, date of relieve, room_type python code
Answers
Answered by
0
Answer:
Design a Patient class for a renowned Hospital by reading the details like Patient id, name, weight, height, age, date of admission, date of relieve, room_type (general – Rs150/day, individual – Rs.1500/day). Calculate the number of days, the patient stayed in the hospital and based on that calculate the total amount of bill based on the room type. For each day add the amount as per the room type and generate the bill to be displayed. Use python programming lanugage
Sample Input Format:
Read the number of patients, n
Read n lines of patient details
Constraints:
3<=n<=500
Similar questions