Two class

Click Here to Download this Answer Instantly

Language C#
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. Added to the specifications from the textbook, you should include as part of the final display a heading that includes your name along with a set of calculated values.