1- Create a menu to choose which of the problems below to solve. Your menu should have the following options: a. Information about the two programs b. BMI calculator c. Point on cartesian plane locater d. Exit option Use a switch statement to create the menu. Consider a case where the option any user selects isn't on the menu. 2- For one case of the switch statement, write a program that calculates the user's body mass index (BMI) and categorizes it as underweight, normal, overweight, or obese, based on the following table from CDC. Print the output with the calculated BMI as well as the weight status for the user. BMI Weight Status Below 18.5 Underweight 18.5-24.9 Normal 25.0-29.9 Overweight 30.0 and above Obese To calculate BMI based on weight in pounds and height in inches, use this formula (rounded to tenths): 703 x weight(lb) BMI (height(in))² 3- For another case of the switch statement, write a program that takes the x - y coordinates of a point in the Cartesian plane and prints a message telling either an axis on which the point lies or the quadrant in which it is found. Sample lines of output: (-1.0, -2.5) is in quadrant II (0.0, 4.8) is on the y-axis (0.0, 0.0) is on the origin QIV
1- Create a menu to choose which of the problems below to solve. Your menu should have the following options: a. Information about the two programs b. BMI calculator c. Point on cartesian plane locater d. Exit option Use a switch statement to create the menu. Consider a case where the option any user selects isn't on the menu. 2- For one case of the switch statement, write a program that calculates the user's body mass index (BMI) and categorizes it as underweight, normal, overweight, or obese, based on the following table from CDC. Print the output with the calculated BMI as well as the weight status for the user. BMI Weight Status Below 18.5 Underweight 18.5-24.9 Normal 25.0-29.9 Overweight 30.0 and above Obese To calculate BMI based on weight in pounds and height in inches, use this formula (rounded to tenths): 703 x weight(lb) BMI (height(in))² 3- For another case of the switch statement, write a program that takes the x - y coordinates of a point in the Cartesian plane and prints a message telling either an axis on which the point lies or the quadrant in which it is found. Sample lines of output: (-1.0, -2.5) is in quadrant II (0.0, 4.8) is on the y-axis (0.0, 0.0) is on the origin QIV
Chapter6: Using Arrays
Section: Chapter Questions
Problem 3E
Related questions
Question
this question is not incomplete this is the entire question! thank you!
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 6 images
Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage