Question: in java PlayWithStrings: Write a program that asks the user to enter the name of their favorite city (type String). The program should then display
in javaPlayWithStrings: Write a program that asks the user to enter the name of their favorite city (type String). The program should then display the following: The number of characters in the city name The name of the city in all uppercase letters The first character in the name of the city The last 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
