Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make sure its in MATLAB code! Write a program in a script file that calculates the BMI of a person. The program asks the person

Make sure its in MATLAB code! image text in transcribed
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 1 in. tall 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

Students also viewed these Databases questions

Question

BPR always involves automation. Group of answer choices True False

Answered: 1 week ago