Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the toString method in the Covid 1 9 Patient class to return a String similar to the sample below: Id: 2 3 Full name: Shukri

the toString method in the Covid19Patient class to return a String similar to the
sample below:
Id: 23
Full name: Shukri Abotteen
Age: 80
Temperature: 38
PCR test result: Positive
Treatunent: Paxluvid
RegularPatient
Use the uml diagram above to create the class
The treat method will return Amoxicillin for patients with upper respiratory
tract infections (symptoms include coughing, runny nose, or stuffy nose).
Patients who have hypertension will be taking ACE inhibitors. All other patients
will be on N fluids.
the tostring method in the RegularPatient class will return a String similar to the
sample below:
Id: 23
Full name: Shukri Abotteen
Age: 70
Main Symptom: Vomiting
PCR test result: Negative
Treatment: N fluids
Design requirements:
Follow all the coding conventions used in IT-168 including but not limited to: naming
conventions, comments, _.etc
The program should take into account all the expected input scenarios including user
errors.
Your program should implement all the OOP concepts we covered including inheritance,
abstraction and polymorphism.
Your output could be formatted in any style as long as it has all the expected values
Grading criteria:
MainClass(30%)
Covid19Patient (35%)
RegularPatient (35%)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Define the positively skewed and negatively skewed distributions

Answered: 1 week ago