Question: Please help me explain the java program below(100-150 words). Thanks. Question 1 A clinic requires a program to calculate the body mass index (BMI) and

Please help me explain the java program below(100-150 words). Thanks.

Please help me explain the java program below(100-150 words). Thanks. Question 1

A clinic requires a program to calculate the body mass index (BMI)

and display the BMI value and status of a patient. Develop a

program to accept the height and weight of a patient, calculate the

Question 1 A clinic requires a program to calculate the body mass index (BMI) and display the BMI value and status of a patient. Develop a program to accept the height and weight of a patient, calculate the BMI and display BMI value and status of a patient. BMI = weight in kg/height? BMI Below 24 (inclusive) Above 24 to 29 (inclusive) Above 29 to 34 (inclusive) Above 34 Status Under weight Healthy Overweight Obese Question 2 The Meteorological service requires a program to allow the operator to enter the rainfall level. The program keep accepting the rainfall level until a zero value is entered. The program will keep displaying the current min, max and running average rainfall level after an entry is made. The program terminates by the operator entering a negative value and displaying the total number of entries made. Question 3 The VO2Max score of an athletic reflects the physical fitness of an individual. It is the maximum capacity of an individual's body to transport and use oxygen during incremental exercise. Kaplan Sports Club requires a Sports Recommender program to calculate the VO2Max of an individual and display the type of sport the athletic is suitable for. The Sports Recommender program use the following formula to calculate each athlete's VO2Max in mL/(kg.min). VO2Max = 15 HRmax HRrest HRmax is the Maximum Heart Rate. (HRmax = 220 - age) HRrest is the Resting Heart Rate. The program is to accept the HRrest, age, gender of the athletic and display the type of sports that athletic is suitable for based on the following table: Sport Basketball Bicycling Canoeing Gymnastics Swimming Age yrs 18-30 18 - 26 18 - 26 18-22 10-25 Males (VO2Max) Females (VO2Max) mL/(kg.min) mL/(kg.min) 40-60 43 - 60 62-74 47 - 57 55-67 47 - 67 52-58 36-50 50-70 40-60 The program needs to be 'smart' enough as well. When inappropriate values are entered to the program, for example, a negative age, then the program will ask the operator to enter the value again. o For each question explain (100-150 words) how the logic works. Three sample output screenshot (Two normal and one error test case) o

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!