The program below is the answer to Liang’s Introduction to Java Programming (9th Edition) Chapter  2 Exercise 2.14.

Question: Health application: computing BMI) Body Mass Index (BMI) is a measure of health on weight. It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters. Write a program that prompts the user to enter a weight in pounds and height in inches and displays the BMI. Note that one pound is 0.45359237 kilograms and one inch is 0.0254 meters.

Click here to see other solutions to Introduction to Java Programming.

Write A Comment