Question: Write psuedocode to complete the following steps: 1 ) Ask the user to enter the letter for their major (should be in main) -The user

Write psuedocode to complete the following steps:

1 ) Ask the user to enter the letter for their major (should be in main) -The user should enter a letter for their major (C,E,S or M) -C = Computer Engineering -E = Electrical Engineering -S = Computer Science -M = Math

2 ) Ask the user how many credits they have completed (should be in main)

3 ) Determine how many more credits the user needs based on their major (should be in getCredits function) -Computer Engineering (82 credits) -Electrical Engineering (80 credits) -Computer Science(75 credits) -Math(85 credits)

Print the following message: (should be in printMessage function) As a major, you still need to graduate.

Here are the functions you need Function name | Parameters | Return Type heading | N/A | void getCredits | credits | int printMessage | userMajor, Rcredits | void

Your heading function should ask the user for their name and print it Your getCredits function should determine how many more credits the user needs based on their major Your printMessage function should print the message to the user

Write a program to complete the steps, using your pseudocode as comments

In C++

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!