Hello guys, I was wondering if the state code which is entered by the user isn't in the text file What will happen then?
Then it shouldnt print anything.
Nothing will be printed.
Great question! However, in all the test cases I believe there will always be matching results, so you don't need to worry about it.
Oh ok thanks for clarifying
For example, there is no NY in addresses2.txt, so if you try to run that, it wouldn't print anything.