Question
. The first programming assignment manipulated numeric data. This program is to manipulate non-numeric (ASCII) character data. Write a short program (in any language) that
. The first programming assignment manipulated numeric data. This program is to manipulate non-numeric (ASCII) character data. Write a short program (in any language) 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
A. The first programming assignment manipulated numeric data. This program is to manipulate non-numeric (ASCII) character data. Write a short program (in any language) 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 Ralph Bob Sue Sue Example 2: Enter Sorted george Ralph Bob SueStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started