Question: I need help with this C++ code that I have no clue from where, to begin with, plz help if possible!! Create a program that

I need help with this C++ code that I have no clue from where, to begin with, plz help if possible!!

I need help with this C++ code that I have no clue

from where, to begin with, plz help if possible!! Create a program

that allows a user to view and alter a class schedule. To

make the class schedule, you'll need to use two string vectors: courseCodes

Create a program that allows a user to view and alter a class schedule. To make the class schedule, you'll need to use two string vectors: courseCodes and courseNames. Note: Throughout the lab, you can assume the user will enter the correct data type you're expecting. So, if you're asking for an integer, assume they will correctly always enter an integer. Your program should utilize four functions: main O Parameters: none o Return value: 0 O Purpose: Loop through the user menu letting the user choose options until they'd wish to stop view Schedule O Parameters: codes and class names (both by reference) O Return value: none o Purpose: display all the items in the vectors. Keep each course code in line with the corresponding course name addClass O Parameters: codes and class names (both by reference) O Return value: 0 on successful add, 1 on unsuccessful add Purpose: add a course to the vectors. Course codes should be checked for being exactly four characters long -- if it's not, return 1 and end function. If it is, add to the code vector, query for the course name and add to the name vector. Return 0 removeClass O Parameters: codes and class names (both by reference) O Return value: 0 on successful remove, 1 on unsuccessful remove Purpose: remove a course from the vectors. Should not display the vectors here. Ask the user which item they'd like to remove ... check to see if the number is valid (0

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!