Question: Create a java program that will ask the user to input height and weight. Compute and display its body mass index. Formula: height in


Create a java program that will ask the user to input heightand weight. Compute and display its body mass index. Formula: height in

Create a java program that will ask the user to input height and weight. Compute and display its body mass index. Formula: height in meter = ((height in feet x 30.48) + (height in inches x 2.54)) / 100 bmi = weight in kilogram/(height in meter x height in meter Refer to the image as sample run. Enter your height in feet: 5 Enter your height in inches: 7 Enter your weight in kilogram: 80 Your Body Mass Index is 27.62

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

A Java program that takes user input for height and weight calculates the BMI and displays the resul... View full answer

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 Programming Questions!