Question: In c#. Using a class library. Write a console program that takes two command-line arguments, weight and height, computes the BMI, and prints the corresponding

In c#. Using a class library. Write a console program that takes two command-line arguments, weight and height, computes the BMI, and prints the corresponding BMI category:

  • Starvation: less than 15
  • Anorexic: less than 17.5
  • Underweight: less than 18.5
  • Ideal: greater than or equal to 18.5 but less than 25
  • Overweight: greater than or equal to 25 but less than 30
  • Obese: greater than or equal to 30 but less than 40
  • Morbidly Obese: greater than or equal to 40

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!