I have a program that requires me to read from a file looking like this:
Last First 78 70 76 72 82 84
Last First 72 76 77 90 76 45
Last First 64 93 95 83 66 56
Last First 67 78 68 75 64 46
Last First 67 75 97 90 57 89
the program is to read line by line and print out the (last, First, and store the six numbers in an array for each line. How do I put the numbers in an array when reading from the file?
I would really appreciate it if someone can help me. Thanks