Question: Programming Challenge: 11 - String Selection Sort Modification Have the program prompt the user for the file name. Display both the unsorted and sorted names,
Programming Challenge: 11 - String Selection Sort Modification
Have the program prompt the user for the file name.
Display both the unsorted and sorted names, one name per line.
Note that the strings to be sorted might contain spaces!
Do not use a two-dimensional array of type char (as in the textbook example); that is a fairly outdated approach. Well, C is an old language so we get a lot of that even in the newer textbooks. Use an array of type string instead.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
