Question: Write a program named lab 1 1 _ 2 . cpp that asks a user for 5 names, and stores them in an array of

Write a program named lab11_2.cpp that asks a user for 5 names, and stores them in an array of strings. Then, use the selection sort to alphabetize the names. This is a sample execution of the program.
Enter a name: Benjamin
Enter a name: Ana
Enter a name: Emily
Enter a name: Carla
Enter a name: David
Names in alphabetical order
Ana
Benjamin
Carla
David
Emily
Write a program named lab 1 1 _ 2 . cpp that asks

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 Programming Questions!