in reply to Re^2: **HomeWork** Printing the found input from an array
in thread **HomeWork** Printing the found input from an array

Obviously you missed Name "main::city" used only once: possible typo...line 61.
That is different warning, and very important one.
  • Comment on Re^3: **HomeWork** Printing the found input from an array