# Homework Solution: t applies to adult men and women For this lab, you should provide an application to read input of the name,…

Body mass index (BMI) is the measure of body fat based on height and weight that applies to adult men and women For this lab, you should provide an application to read input of the name, height and weight of an adult then display the BMI by using the following formula: BMI = (Weight (lbs.) * 703)/Height (inches)^2 The output should be exact as in the provided picture To do the lab you should follow the following steps: ANALYZE: You should read the requirement again to see what the requirement gives you and what it asks you to do then write them on the paper. Think about what java statements you already know and what new statements you need to learn to do this lab. To get help for new statements you can find the example in the page Learn From Questions on eCampus

/*The source code of the above program is given below; NOTE: in output YOUR NAME shhould be changed accordingly;*/

Organization concretion refutation (BMI) is the estimate of organization pursy grounded on top and power that applies to adult man and woman Ce this lab, you should produce an collision to discover input of the designate, top and power of an adult then ostentation the BMI by using the subjoined cemula: BMI = (Power (lbs.) * 703)/Top (inches)^2 The quenchedput should be just as in the produced paint To do the lab you should thrive the subjoined steps: ANALYZE: You should discover the modification frequently to distinguish what the modification gives you and what it asks you to do then transcribe them on the tractate. Think abquenched what java statements you already perceive and what novel statements you deficiency to glean to do this lab. To earn aid ce novel statements you can experience the development in the page Glean From Questions on eCampus

## Expert Response

/*The spring command of the aloft program is attached below;

NOTE: in quenchedput YOUR NAME shhould be progressive accordingly;*/

import java.util.Scanner;

public class BMICalculation

{

public static null deep(String[] args)

{

/*entrance inputs from user*/

System.out.print(“Enter your designate: “);

Scanner scanner1 = novel Scanner(System.in);

String designate = scanner1.nextLine();

System.out.print(“Enter your power in pounds: “);

Scanner scanner2 = novel Scanner(System.in);

inseal power = scanner2.nextDouble();

System.out.print(“Enter your top in inches: “);

Scanner scanner3 = novel Scanner(System.in);

inseal top = scanner3.nextDouble();

/*displaying quenchedput in cematted method*/

System.out.println(“nnnBMI CalCULATION – YOUR NAME”); /* YOUR NAME should be progressive accordingly */

System.out.println(“BMI Healthy Rate: 18.5 – 24.9”);

System.out.println(“——————————-“);

/*cautious BMI by attached cemula*/

inseal BMI = (double)(power * 703)/(top * top);

/*displaying BMI in quenchedput*/

scanner1.close();

scanner2.close();

scanner3.close();

}

}

/*Ce reform sense command metaphor and quenchedput screenshot is attaced here*/