Question
Write a C# two-class solution to calculate and display a persons body mass index (BMI). BMI is an internationally used measure of obesity. Depending on
Write a C# two-class solution to calculate and display a persons 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 persons 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.524.9 Normal 2529.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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started