The BMI is measured with the following formula calculated as BMI = weight x 703 / height^2
Question:
The BMI is measured with the following formula calculated as BMI = weight x 703 / height^2 A person's optimal BMI is between 18.5 and 25. If the BMI is less than 18.5 the person is considered underweight. And if the BMI is greater than 25 then the person is considered overweight. create a class named BMI with the attribute name as a pointer and the weight and height as a real data type. Ask the user for the height in feet and inches inside the stream operator, and determine the height. Implement the stream operator to print an instance of the BMI class. Define the relational operators to print a message of the person's physical condition. Implement the copy constructor. Validate weight and height cannot be negative (try/catch). Show your class in the main program.