Question: Write an application called StringSort containing an array of 1 5 String values. Accept any number of String values up to 1 5 or until

Write an application called StringSort containing an array of 15 String values. Accept any number of String values up to 15 or until zzz is entered by a user. Display the String values in ascending order.
An example of the program is shown below:
Enter a word or zzz to quit >> Linh Enter a word or zzz to quit >> Noah Enter a word or zzz to quit >> Lael Enter a word or zzz to quit >> Paige Enter a word or zzz to quit >> Porfirio Enter a word or zzz to quit >> Oscar Enter a word or zzz to quit >> Talia Enter a word or zzz to quit >> Kevin Enter a word or zzz to quit >> Willis Enter a word or zzz to quit >> Hannelore Enter a word or zzz to quit >> Edgar Enter a word or zzz to quit >> Jeff Enter a word or zzz to quit >> Jeremy Enter a word or zzz to quit >> Loura Enter a word or zzz to quit >> Ellyn Strings in order: Edgar Ellyn Hannelore Jeff Jeremy Kevin Lael Linh Loura Noah Oscar Paige Porfirio Talia Willis
Task 01: Created the StringSort class.
Task 02: The StringSort program accepts up to 15 String values.
Task 03: The StringSort program displays the entered String values in ascending order.

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!