Question: The response I got for my previous question (one hour ago) was amazing and so helpful in letting me see what I was doing wrong!
. tot 2. Write a program named, String Manipulator.java, that will prompt the user to enter the name of a favorite city. The application should read the city name into a String variable. Next the application should display: The number of characters in the city name SE2-boost The name of the city in all upper case letters londo bieg sou The name of the city in all lower case letters to bolo The first character in the name of the city The following example is exactly what your program should look like when it executes: SEE to o no one a co Enter the name of a city: Mesa Number of characters: 4 max boso Using all upper case: MESA Using all lower case: bota Jotain or da First character is: M 109 em bode online dana 5000. Zet sig got Another example: 2.0222 e nom 1930nd Din sol benin to. Todos estos solo Enter the name of a city: phoenix Number of characters: 7 207 baan bio 900 Using all upper case: PHOENIX od bool Using all lower case: phoenix boveno First character is: p mesa Your program should be able to work properly for any city name entered. Note In again that the inputs for each execution are shown in red only for clarity. .bs for
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
