Question: Hello, this is a C++ . I have been working on this for 3 days and no WAY i can finish it. All information needed

Hello, this is a C++ . I have been working on this for 3 days and no WAY i can finish it. All information needed are bellow. Please help me and ask any questions you have.

Here are all informations you need:

Make sure the following requirements are met:

1- Modify the selection sort to sort string instead of integers - void selectionSort(string name[], int numStrings )

2- Test the revised selection sort with a driver program

3- Produce a report like the sample provided in the text.

Now, you can use this program below as a skeleton to complete the code:

Modify the selectionsort function presented so it sorts an erray of strings instead of ints. Test the function with a driver program.

//Inclode needed header files here.

int main()

{

const int SIZE = 20;

{ "Collins, Bill", "Smith, Bart", "Michalski, Joe", "Griffin, Jim", "Sanchez, Manny", "Rubin, Sarah", "Taylor, Tyrone", "Johnson, Jill", "Allison, Jeff", "Moreno, Juan", "Wolfe, Bill", "Whitman, Jean", "Moretti, Bella", "Wu, Hong", "Patel, Renee", "Harrison, Rose", "Smith, Cathy", "Conroy, Pat", "Kelly, Sean", "Holland, Beth" };

//Insert your code to complete this program.

}

Name String

// Set up the array of strings, in this case names string name[SIZE] = { "Collins, Bill", "Smith, Bart", "Michalski, Joe", "Griffin, Jim", "Sanchez, Manny", "Rubin, Sarah", "Taylor, Tyrone", "Johnson, Jill", "Allison, Jeff", "Moreno, Juan", "Wolfe, Bill", "Whitman, Jean", "Moretti, Bella", "Wu, Hong", "Patel, Renee", "Harrison, Rose", "Smith, Cathy", "Conroy, Pat", "Kelly, Sean", "Holland, Beth" };

It should look like the sample below when it runs

Hello, this is a C++ . I have been working on this

Allison, Jeff Collins, Bill Conroy, Pat Griffin, Jim Harrison, Rose Holland, Beth Johnson, Jill elly, Sean Michalski, Joe Moreno, Juan Moretti, Bella Patel, Renee Rubin, Sarah Sanchez, Manny Smith, Bart Smith, Cathy Taulor, Turone Whitman, Jean Wolfe, Bill wu, Hong

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!