Question: 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
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
Get step-by-step solutions from verified subject matter experts
