Question: Homework 2 ( 5 % ) DELIVERY: Through Email Due Date / Time: 0 4 - January - 2 0 2 4 / 2 3
Homework
DELIVERY: Through Email
Due DateTime: January:
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:
where weight is in pounds and height is in inches
Display Result: Display the BMI
Sample Output:
II BMI Calculator II
BMI
Underweight
Ovenweight
BMI
Obese
Enter your weight pounds:
Enter your height inches:
Your Body Mass Index :
Normat
Ovenweight
BMI
Obese
Enter your weight pounds:
Enter your height inches:
Your Body Mass Index :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
