Question: This program is to manipulate non-numeric (ASCII) character data. Write a short program in C that reads four names from the keyboard and then prints
This program is to manipulate non-numeric (ASCII) character data. Write a short program in C that reads four names from the keyboard and then prints the list in alphabetical order. Run your program twice, with the names entered exactly as listed below, and in the given order. One list has all of the names capitalized, and the second has two of the names beginning with lower-case letters. Turn in a printout of your program and the sorted list printed by the program for each run, and discuss whether the program produced what you expected for Example 2. Example 1:
Enter Sorted
George Bob
Ralph George
Bob Ralph
Sue Sue Example 2:
Enter Sorted
george ?
Ralph
Bob
sue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
