Question: I need output screen.Language is C#.please explain step by step. Question 6 (40points): Write a class named Person that has following properties: a) It stores

 I need output screen.Language is C#.please explain step by step. Question

I need output screen.Language is C#.please explain step by step.

Question 6 (40points): Write a class named Person that has following properties: a) It stores two global variables for height (inch) and weight (pounds). (5points) b) Write a Default constructor with no parameters (initialize parameters as height=65 inches and weight= 110 pounds). (5points) c) Write an overloaded constructor with two parameters. (5points) d) Write a method named "getBmilndex that returns the body mass index of the person using following formula. (10points) w index=-x703 h? e) Write the necessary statement to create a person object named Zeynep with height=60 inches and weight=120 pounds. (5points) f) Write a statement to calculate bmi index of Zeynep and assign it to local variable then print it. (10 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!