Question: In this homework assignment, you are going to code a java program which calculates a user's Body Mass Index (BMI) and then output their BMI

 In this homework assignment, you are going to code a java

In this homework assignment, you are going to code a java program which calculates a user's Body Mass Index (BMI) and then output their BMI category. This will give you practice with if statements while allowing you to explore and understand a little Java code before we begin going in depth with Java. You will also need to test out this program to ensure the correctness of the algorithm and code. You will need to develop test data that will represent all possible kinds of data that the user may enter. The assignment Using Scanner or JOptionPane, prompt the user for . Their name . Their height (height is usually measured in inches- if I'm 5ft 2inches, im 62 inches long) Their weight (weight is usually calculated in pounds) Output . The users name Their BMI (This is calculated by weight multiplied by 703, then divided by height squared) Imperial English BMI Formula weight (lbs) x 703 + height (in2) The category it falls under BMI Categories: Underweight 30

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!