I'm really sorry, because I know this is probably a really easy question, but I pretty much suck at programming, and I'm working on code right now that is supposed to read the information in a text file, then print some of that information. The only problem for me is that it is a more advanced file than I'm used to reading, so I'm not really sure how to begin.
The input file is:
I want the user to be able to choose which line (1-5) prints the data, but like I said, I'm not sure how to begin.Code:Last Name First Name Class Year Hometown Allen James 3 Tampa, FL Jones Adam 2 New York, NY Smith Stacey 3 Chicago, IL Beam Sarah 3 Chicago, IL Oliver Taylor 4 Los Angeles, CA
Again, I'm sorry that this is a pretty simple question, but any help would be greatly appreciated.