Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello I would love it if I can get help on my program 08 that is due tonight please let me know if you are

Hello I would love it if I can get help on my program 08 that is due tonight please let me know if you are not able to see the picture clearly.

image text in transcribedimage text in transcribed

Follow instructions to create a visual C++ project, add the CH code, compile, run and fix errors. Save it to your Lab Assignment Folder in your Z drive or to your laptop. Write your Name, course, and date as comments on first line. // First and last name CSDP 221 Program 08 03/11/21 Explain what the program is to do along with any directions or instructions needed for program users Write a program that display a message indicating whether the person has optimal weight, is underweight, or is overweight. The program should ask the user to enter a number within the range of 1 through 3. Use switch statements to display the appropriate message according to body mass index (BMI) value. Expected outputs: ------------- Microsoft Visual Studio Debug Console Body Mass Index 1- BMI less than 18.5 2- BMI betueen 18.5 to 25 3- BMI greater than 25 Please select a number between 1 to 3 according to your BMI : 1 You are underveight. Microsoft Visual Studio Debug Console . Microsoft Visual Studio Debug Console Body Mass Index =============== 1- BMI less than 18.5 2- BHI between 18.5 to 25 3- BMI greater than 25 Please select a number between 1 to 3 according to your BMI : 3 You are ouerueight. Microsoft Visual Studio Debug Console Body Mass Index 1- BMI less than 18.5 2- BMI between 18.5 to 25 3-DMI greater than 25 Please select a nunber betueen 1 to 3 according to your BMI : 2 Your weight is optinal. Microsoft Visual Studio Debug Console Body Mass Index 1- BMI less than 18.5 2- BMI between 18.5 to 25 3- BMI greater than 25 Please select a number between 1 to 3 according to your BMI : 5 Invalid choice: choose a nunber 1 -3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

More Books

Students also viewed these Databases questions