Question: use of c ++ program, please Program 4. Functions The Body Mass Index is computer by the following formula: BMI = (weight in pounds) /
use of c ++ program, please
Program 4. Functions The Body Mass Index is computer by the following formula:
BMI = (weight in pounds) / (height in inches squared) * 703
Write a program with one function that computes the BMI value from a persons weight and height. The main program will prompt the user to enter weight in pounds. Then it will prompt the user to enter height in feet and inches. These three values will then be passed to a function that will compute and return the resulting body mass index as a real number. The function will have to convert feet and inches to total height in inches before calculating BMI.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
