Question: Write a program called PrintStrings.java that prompts the user to enter two words, reads the user input, compares the words to each other, and displays
Write a program called PrintStrings.java that prompts the user to enter two words, reads the user input, compares the words to each other, and displays them in lexicographic order.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
