If I have a text file that contains strings and integers such as:
Alabama 3200
Denver 4500
Chicago 3200
Atlanta 2000
what code could I use to print the smallest number (2000) after reading in that textfile. I know I first have to split the text so I'm just operating on the integers...but I'm lost
Any suggestions?
Thanks