Question: Write a program called Quiz3.java that will ask the computer user to enter three words. Your program shall receive the three words and store

Write a program called Quiz3.java that will ask the computer user to enter three words. Your program shall receive the three words and store them in proper variables according to their data type. Then, the program shall sort them in increasing(ascending) order based on the lexicographical order. For example, the program's input shall looks like this: Enter the first word: [hello] Enter the second word: [apple] Enter the third word: [computer] The program's output shall look like this: apple, computer, hello
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
