Checkpoint 11.11.1.
Construct the algorithm to read and print all the lines. Assume
inFile is already open.
Note that just like we can split up long
cout statements into multiple lines, we can also split up long file input or output statements using << or >> into multiple lines for readability. Just because we have inFile >>... on two different lines does not mean the data needs to be on different lines. >> considers a line break to be the same as a space!
