in JAVA 1.prompt user to enter her height in feet and inches (2 integers) 2. prompt user to enter her lowest weight in pounds (an integer) 3. prompt user to enter her heaviest weight in pounds (an integer) 4. print a table of Body Mass index (BMI) for the height entered: to get multiple lines of output low weight and high weight should have more than 5 pounds difference  to get decimal places in BMI values you may want to cast one of the variables into a float or a double each row of list should have: the value of WEIGHT (an integer), followed by spaces  the value of bmi to four decimal places (a float) followed by spaces  the CONDITION weather overweight (BMI>25) or not overweight (BMI<=25) output must look like example image.     BMI INFO: https://www.cdc.gov/nccdphp/dnpao/growthcharts/training/bmiage/page5_2.html https://www.cdc.gov/obesity/adult/defining.html

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

in JAVA

1.prompt user to enter her height in feet and inches (2 integers)

2. prompt user to enter her lowest weight in pounds (an integer)

3. prompt user to enter her heaviest weight in pounds (an integer)

4. print a table of Body Mass index (BMI) for the height entered:

  • to get multiple lines of output low weight and high weight should have more than 5 pounds difference 
  • to get decimal places in BMI values you may want to cast one of the variables into a float or a double

each row of list should have:

  • the value of WEIGHT (an integer), followed by spaces 
  • the value of bmi to four decimal places (a float) followed by spaces 
  • the CONDITION weather overweight (BMI>25) or not overweight (BMI<=25)

output must look like example image.

 

 

BMI INFO:

https://www.cdc.gov/nccdphp/dnpao/growthcharts/training/bmiage/page5_2.html https://www.cdc.gov/obesity/adult/defining.html

/usr/lib/jvm/java-14-oracle/bin/java -Didea.launcher.port-40353 -Didea.
^ Welcome to:
Enter height in feet and inches: 6 1
Enter the low weight in pounds: 115
Enter the high weight in pounds: 235
WEIGHT BMI
115
120
125
130
135
140
145
150
155
160
165
170
175
180
185
190
BODY MASS INDEX (BMI) Computation PRO
by SFSU
195
200
205
210
215
220
225
230
235
15.1708
15.8304
16.4900
17.1496
17.8092
18.4688
19.1284
19.7880
20.4476
21.1071
21.7667
22.4263
23.0859
23.7455
24.4051
25.0647
25.7243
26.3839
27.0435
27.7031
28.3627
29.0223
29.6819
30.3415
31.0011
CONDITION
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
not overweight
overweight
overweight
overweight
overweight
overweight
overweight
overweight
overweight
overweight
overweight
Thank you for using my program.
Process finished with exit code 0
^^^^^^^^^^^^
Transcribed Image Text:/usr/lib/jvm/java-14-oracle/bin/java -Didea.launcher.port-40353 -Didea. ^ Welcome to: Enter height in feet and inches: 6 1 Enter the low weight in pounds: 115 Enter the high weight in pounds: 235 WEIGHT BMI 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 BODY MASS INDEX (BMI) Computation PRO by SFSU 195 200 205 210 215 220 225 230 235 15.1708 15.8304 16.4900 17.1496 17.8092 18.4688 19.1284 19.7880 20.4476 21.1071 21.7667 22.4263 23.0859 23.7455 24.4051 25.0647 25.7243 26.3839 27.0435 27.7031 28.3627 29.0223 29.6819 30.3415 31.0011 CONDITION not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight not overweight overweight overweight overweight overweight overweight overweight overweight overweight overweight overweight Thank you for using my program. Process finished with exit code 0 ^^^^^^^^^^^^
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY