The program below prints a table that converts inches to centimeters.
The output does not fit in the DOS window.
To see if the heading printed,
we would need to end the for loop at about 8.
Instead the program below writes the output to a file.
Please note all of the lines that refer to the file output