Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write this program in Java 2.33 ( Body Mass Index Calculator ) We introduced the body mass index (BMI) calculator in Exercise 1.10. The formulas

Write this program in Java

image text in transcribed

2.33 (Body Mass Index Calculator) We introduced the body mass index (BMI) calculator in Exercise 1.10. The formulas for calculating BMI are:

BMI = weightInPounds x 703 heightInInches x heightInInches

Create a BMI calculator that reads the users weight in pounds and height in inches (or, if you prefer, the users weight in kilograms and height in meters), then calculates and displays the users body mass index. Also, display the following information from the Department of Health and Human Services/National Institutes of Health so the user can evaluate his/her BMI.

Note: Should implements exception handling.

Output:

How many pounds you weight? 200

What is your height in inches? 68

Your BMI is 30.4 (Obese).

2.33 (Body Mass Index Calculator) We introduced the body mass index (BMI) calculator itn Exercise 1.10. The formulas for calculating BMI are: BMIweightinPounds x 703 heightInInches x heightInInches Create a BMI calculator that reads the user's weight in pounds and height in inches (or, if you prefer, the user's weight in kilograms and height in meters), then calculates and displays the user's body mass index. Also, display the following information from the Department of Health and Human Services National Institutes of Health so the user can evaluate his her . Note: Should implements exception handling. Output: How many pounds you weight? 200 What is your height in inches? 69 Your BMI is 30.4 (Obese)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions