Question: Asap, Pleas write a Java program with comments Write a program that prompts the user to enter three cities and displays them in alphabetical order
Write a program that prompts the user to enter three cities and displays them in alphabetical order Here is a sample run (User input is shown in Bold): Enter the first city: Chicago Enter the second city: San Jose Enter the third city: Atlanta The three cities in alphabetical order are: Atlanta, Chicago, and San Jose
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
