Question: I don't understand why this code does not work. Where in line 11 need { mark and why? tawartecity.reator File Edit View Pa de Pr

I don't understand why this code does not work.

Where in line 11 need { mark and why?

I don't understand why this code does not work. Where in line

tawartecity.reator File Edit View Pa de Pr Bail Run Tal Configure Window Hep favorite City wax @of verticy.AT * TAUTICA 11 Cattom 1 Author Qvesain 1.00 2022/2/20 ivot : port java.util.Scamus: public el Lengua E. public static void main(String[] args) { // ta ruan input Scanner ac- new sonner(Syren. In)! -) //display more System.ous.print("Enter your city name: ") 1 //input city String Qaty - 2. BoxLine : Qisy () // play data of string System.out.println("iber of characters in city: "city.length()): Systen.ous.println("City name in sprer case: "-city to percase)); Syatenus-println("CELY sun in lonce cage: "Icity-COLOHCECasc()): System.ous.println("Tir character in the name of city: "-city.chart-10); 9.elce(): -- Ink Vw Build Report Message Recure City, erronexpected Folder Locabon CUsersiseose nerve Documents Creator LE\MyProjects tovonte Citysch line 11 General Output Buid Output Task View For Hdp, press F1 La Coll Chart HOLO OVR Read CAP NUM 33 PM 1/20/2022 Q ENG

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!