write a pseudo code and read a patient number, blood pressure figures (systolic or diastolic), and two cholesterol figures (LDL and HDL). Include a method named computeRatio() that divides LDL cholesterol by HDL cholesterol  and displays the result. Include an additional method named explainRatio() that explains that HDL is knowns as “good cholesterol” and that a ratio of 3.5 or lower is considered optimum.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter12: Exception Handling
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question
100%

write a pseudo code and read a patient number, blood pressure figures (systolic or diastolic), and two cholesterol figures (LDL and HDL). Include a method named computeRatio() that divides LDL cholesterol by HDL cholesterol  and displays the result. Include an additional method named explainRatio() that explains that HDL is knowns as “good cholesterol” and that a ratio of 3.5 or lower is considered optimum. 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Math class and its different methods
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT