Question: Write a Java program that informs a patient of health risk according to the following table. Health risk Male Female Low risk below 0.9 below
Write a Java program that informs a patient of "health risk" according to the following table.
| Health risk | Male | Female |
|---|---|---|
| Low risk | below 0.9 | below 0.8 |
| Moderate risk | 0.90.99 | 0.80.89 |
| High risk | over 1.0 | over 0.9 |
Table1. Average values for WHR (WHR= waist circumference / hip circumference)s and their associations with health risks Source (https://www.medicalnewstoday.com/articles/323446#waist-to-hip-ratio)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
