Question: 3. Write a Java program that asks the user to enter the name of his or her favorite city. Use a string variable to store
3. Write a Java program that asks the user to enter the name of his or her favorite city. Use a string variable to store the input. The program should display the following: (save the project as Ass1 P3) a) The number of characters in the city name. b) The name of the city in all uppercase letters. c) The name of the city in all lowercase letters t character in the name of the city
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
