Nested Loops Demonstrated Using File Loops

Creating the data file we will read below

File will contain multiple numbers per line.

Using two for loops to read data from a file

File will contain 6 numbers per line

Alternatively, using a while outer loop, and for inner loop