Question: PLEASE USE OBJECT ORIENTED PROGRAMMING IN C# USING MICROSOFT VISUAL. PLEASE USE C#(C SHARP). thanks it's really appreciated. Design a HealthProfile class for a person.
PLEASE USE OBJECT ORIENTED PROGRAMMING IN C# USING MICROSOFT VISUAL.
PLEASE USE C#(C SHARP).
thanks it's really appreciated.


Design a HealthProfile class for a person. The class attributes should include the person's i first name ii last name ii gender iv date of birth (consisting of separate attributes for the month, day and year of birth) v height (in inches) vi weight (in pounds) VII Cuirent veai 1. 2. Your class should have a constructor that receives this data 3. For each attribute provide a property with set and get accessors 4. The class also should include methods that calculate and return the i user's age in years ii maximum heart rate ii target-heart-rate range iv body mass index (BMI) using the following formula weight! n Pounds 703 heightInInches x heightlnInches BMI Write an app that prompts for the person's information. instantiates an object of class Health Profile for that person and displays the information from that object-including the person's i first name, last name il gender iii date of birth iv height v weight vi the person's age in years vii BMI viii maximum heart rate ix target-heart-rate range x It should also display the "BMI values" chart as shown below Underweight Normal Overweight Obese BMI VALUES Less than 18.5 Between 18.5 and 24.9 Between 25 and 29.9 30 or greater ote: Please use C# 6 mechanism "String Interpolation to insert values in string literals to create formatted trings of your app output]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
