Homework Help Question & Answers

Create a class named Checkup with fields that hold a patient number, two blood pressure figures (systolic and diastolic), and two cholesterol figures (LDL and HDL)

Create a class named Checkup with fields that hold a patient number, two blood pressure figures (systolic and diastolic), and two cholesterol figures (LDL and HDL). Include methods to get and set each of the fields. Include a method named computeRatio() that divides LD cholesterol by HDL cholesterol and displays the result. Include an additional method named ExplainRatio() that explains that HDL is known as “good cholesterol” and that a ration of 3.5 or lower is considered optimum. Include the appropriate comments including your name, date, and chapter information.

Create a class named TestCheckup whose main() method declares four Checkup objects. Provide values for each field for each patient. Then display the values. Blood pressure numbers are usually displayed with a slash between the systolic and diastolic values. (Typical numbers are values such as 110/78 or 130/90.) With the cholesterol figures, display the explanation of the cholesterol ratio calculation. (Typical numbers are values such as 100 and 40 or 180 and 70.) Include the appropriate comments including your name, date, and chapter information.



What is your question on this?
0 0
Answer

This Homework Help Question: "Create a class named Checkup with fields that hold a patient number, two blood pressure figures (systolic and diastolic), and two cholesterol figures (LDL and HDL)" No answers yet.

Be the First!

Request Answer

Request answer!

We need 3 more requests to produce the answer to this homework help question. Share with your friends to get the answer faster!

0 /3 have requested the answer to this homework help question.

Request! (Login Required) Share with friends


Once 3 people have made a request, the answer to this question will be available in 1-2 days.
All students who have requested the answer will be notified once they are available.
Add Homework Help Answer
Add Answer of:
Create a class named Checkup with fields that hold a patient number, two blood pressure figures (systolic and diastolic), and two cholesterol figures (LDL and HDL)
Your Answer: Your Name: What's your source?
Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
More Homework Help Questions Additional questions in this topic.
Need Online Homework Help?
Ask a Question
Get FREE EXPERT Answers
WITHIN MINUTES
Related Questions