Question: C++ Write a program that prompts the user to enter their name and then two characters that give information about their student status. Then it

C++ Write a program that prompts the user to enter their name and then two characters that give information about their student status.

Then it it displays their name, then two characters that give information about their student status.

Then it displays their name, their major and year of status represented by the actual words i.e Computer Science.

The first character they will give you will indicate their major and the second character will be a number 1, 2, 3, or 4, which indicates whether a student is a freshman, sophomore, junior or senior.

Use the following characters to denote the majors:

M: Mathematics

C: Computer Science

E: Engineering

They must first see a menu for their choices of majors. Once they enter their major then they get to see a menu that will let them choose what year they are in.

You must use an if statement to check for the major

and a switch statement to check for the year

Comment your program explaining your steps

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!