Question: Obtain a list of names from the user, storing each name entered in an array. Keep getting another name until the user enters nothing. Sort
Obtain a list of names from the user, storing each name entered in an array. Keep getting another name until the user enters nothing. Sort the names in ascending order and then write them out to the page, with each name on its own line.
Step by Step Solution
3.33 Rating (156 Votes )
There are 3 Steps involved in it
Chapter 5 Question 2 var inputName var namesArray while inputName promptEnter a name namesArray name... View full answer
Get step-by-step solutions from verified subject matter experts
