Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use matlab to solve. Problem 3: Body Mass Index (BMI) is a measure of obesity. In standard units it is calculated by the formula

image text in transcribed

Please use matlab to solve.

Problem 3: Body Mass Index (BMI) is a measure of obesity. In standard units it is calculated by the formula BMI 7032 where W is weight in pounds, and H is height in inches. The obesity classification is: BMI Below 18.5 18.5 to 24.9 25 to 29.9 30 and aboveObese Classification Underweight Normal Overweight Write a program in a script file that calculates the BMI of a person. The program asks the person to enter their first name, last name, his or her weight (lb) and height (in.). The program displays the BMI value rounded to the nearest tenth, and the corresponding classification. Example: For Luke Mason, weighing 200 lb and 60 in. tall the program should output the following statement: "Luke Mason, your BMI value is 39.1, which classifies you as Obese" Use the program for determining the BMI and classification of the following two individuals: (a) A person 6 ft 2 in. tall with a weight of 180 lb. (b) A person 5 ft n tal with a weight of 150 lb

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions