Question: Use c++ programming Create a C++ project and source file named YourLastNameJobs. Do the following in your program. Use iterators where they are appropriate in

 Use c++ programming Create a C++ project and source file namedUse c++ programming

Create a C++ project and source file named YourLastNameJobs. Do the following in your program. Use iterators where they are appropriate in your solution. 1. Create a string vector and add the following names: a. Ballast, Fred b. Iris, Marge c. Miller, Brad d. Singer, Lois e. First, Horatio 2. Display the names in the vector, one per line. 3. Sort that vector into alphabetical order by last name. 4. Display the names in the vector, one per line. 5. Create a second string vector to match the following jobs with the names in the names vector and place the job names into the new array in the same order as the sorted name vector: a. Bungi jumping instructor b. Caffeine addiction counselor c. Statistician d. Assertiveness training coordinator e. Ice rink manager 6. Display the job vector, one per line. 7. Display the names and their corresponding jobs, separated by 5 spaces, one name and job per line

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!