The Body Mass Index – BMI is a parameter used to measure the health status of an individual. Various BMI values depict how healthy or otherwise a person is. Mathematically BMI = weight ÷hight×hight Write a java program using either JOptionPane or Scanner to collect the following values of an individual: i. Name ii. Weight iii. Height Major Topic Getting user inputs B.) Compute the BMI of that individual Make the following decisions if: i. BMI < 18.5 is under weight ii. BMI >=18.5 but =25 but = 30 but = 40 Morbid Obesity d)Display the results of the individual

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter7: Characters, Strings, And The Stringbuilder
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question
The Body Mass Index – BMI is a parameter used to measure the health status of an individual. Various BMI values depict how healthy or otherwise a person is. Mathematically BMI = weight ÷hight×hight Write a java program using either JOptionPane or Scanner to collect the following values of an individual: i. Name ii. Weight iii. Height Major Topic Getting user inputs B.) Compute the BMI of that individual Make the following decisions if: i. BMI < 18.5 is under weight ii. BMI >=18.5 but =25 but = 30 but = 40 Morbid Obesity d)Display the results of the individual
Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Knowledge Booster
Mathematical functions
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