Question: Write a program that reads the names from the LineUp.txt file into an array. These names are unsorted. Write two sort routines to place these
Write a program that reads the names from the LineUp.txt file into an array. These names are unsorted. Write two sort routines to place these names in ascending order: The Bubble sort routine, which we review in class, and the selection sort routine, which you are to debug and analyze the algorithm. Develop these two sort routines and place the sorted array into two files. One named Bubblesort.txt and the other named selectionSort.txt C++, please help
Lineup.txt:
Jackie Sam Tom Bill Mary Paul Zev Barb
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
