1. Body mass index (BMI) of a person is a measure of body fat based on height...
Question:
1. Body mass index (BMI) of a person is a measure of body fat based on height and weight. In U.S. customary units it is calculated by:
where W is the person’s weight in pounds and h is the heights in inches.
Write a MATLAB program in a script file that calculates the BMI. For input the program asks the user to enter his/her weight and height. The program then calculates the BMI rounded to the nearest tenth. For output the program displays the message: “The BMI is: XX.” where XX is the value of the BMI. Determine the BMI of a 68-in.-tall person that weigh162 lb.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: