Question: Homework 2 ( 5 % ) DELIVERY: Through Email Due Date / Time: 0 4 - January - 2 0 2 4 / 2 3

Homework 2(5%)
DELIVERY: Through Email
Due Date/Time: 04-January-2024/23:59
Create a Java program that calculates the Body Mass Index (BMI) based on the user's weight in pounds and height in inches.
User Input:
Prompt the user to enter their weight in pounds.
Prompt the user to enter their height in inches.
Calculation:
Calculate the BMI using the formula:
)2
where weight is in pounds and height is in inches
Display Result: Display the BMI
Sample Output:
II BMI Calculator II
BMI 18.5
Underweight
>3825
Ovenweight
BMI >38
Obese
Enter your weight in pounds: 160
Enter your height in inches: 70
Your Body Mass Index (Eur)is: 22.955102e4081632818.5
Normat
25
Ovenweight
BMI >38
Obese
Enter your weight in pounds: 160
Enter your height in inches: 70
Your Body Mass Index (Eur)is: 22.955102e40816328
 Homework 2(5%) DELIVERY: Through Email Due Date/Time: 04-January-2024/23:59 Create a Java

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