Write a two-class solution to calculate and display a person’s body mass index (BMI). BMI is an internationally used measure of obesity. Depending on where you live, the Imperial BMI formula or the...


Write a two-class solution to calculate and display a person’s body


mass index (BMI). BMI is an internationally used measure of obesity.


Depending on where you live, the Imperial BMI formula or the Metric


Imperial Formula is used. Once the BMI is calculated, display a message


of the person’s status. Prompt the user for both their weight and height.


The BMI status categories, as recognized by the U.S. Department of


Health & Human Services, are given in the following table:



BMI Weight Status


Below 18.5 Underweight


18.5–24.9 Normal


25–29.9 Overweight


30 & above Obese



Provide constructors and methods so that both imperial and metric


objects can be instantiated. Use the second class to test your design.



Nov 24, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here