1 the maximum number of names to be handled will be 20 2


DO IN C++

Write a program, which will ask the user how many names (one word, no spaces) theywish to enter. The program will then read that many names, store them in a twodimensional array of characters (one row per name), print them in the order they wereentered, then sort them in increasing alphabetical order, and print them in sorted order.The sort will be done without regard to the case of the letters (i.e. case insensitive sort).The printing of each name MUST be done with the characters as they were typed, you cannot change the case.

1. The maximum number of names to be handled will be 20.

2. The maximum number of printable characters in a name is 15.

3. Use a two dimensional array to store the names.

4. Create a function to read in all the names.

5. Create a function to do the sort (modify the bubble sort discussed in class and in the textbook).

Along with the .cpp file please also incluede the .h file

Solution Preview :

Prepared by a verified Expert
Business Management: 1 the maximum number of names to be handled will be 20 2
Reference No:- TGS01670121

Now Priced at $25 (50% Discount)

Recommended (99%)

Rated (4.3/5)