Purpose: To practice writing a simple well-documented (lots of comments) C++ program using
repetition structures (loops).
Assignment: The power of a repetition structure lies in the fact that a section of code can
be executed several times (often using different data) in the same program run.
Modify, Laboratory Assignment # 3 so that it will perform integer division using
different sets of values during a single program run. In each set, the first value is
the dividend and the second value is the divisor. You may use either a while or a
do-while sentinel-controlled repetition structure. A for structure may not be used.
Test your program by reading in integer values from a data file that I will send you.
The sentinel value is -99.
Be sure to print out the dividend and divisor values along with the quotient and
remainder for each set of values. The program output should go to a .dat output file
as well as to the computer monitor.