Java Task 2
Java Task 2
Note:
1) Based on illnessCode and age, patient is admitted to specific wards.
2) Among 5 wards, 2 wards are allotted to covid patients, 1 ward for pregnant
womens, 1 ward for childrens and 1 ward for others.
3) Patient Age < 18 will be admitted to childrens ward (other than covid).
Setup Choice based Menu with the following option and display the output as per the
choice:-
1) Admit Patient
2) Discharge Patient
3) Display all vacant rooms in each wards.
4) Display all admitted patients with name, age and illnessCode.
5) Display patient with illnessCode = CVD
6) Display patient with illnessCode = CHILD
7) Display patient with illnessCode = PW
8) Display patient with illnessCode = OT
Note: After completing the tasks, all programs put it in a folder and zip and send it through
[email protected]