Question: please code in java Problem 1: (Health application: computing BM) Body Mass Index (BMI) is a measure of health on weight. It can be calculated

 please code in java Problem 1: (Health application: computing BM) Body please code in java

Problem 1: (Health application: computing BM) 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. Here is a sample run: Enter weight in pounds: 95.5 Enter height in inches: 50 BMI is 26.8573 Create the following class in a file called computeBMI.java 1 public class computeBMI { 2 public static void main(String [] args) { 3 // your code here

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!