When the program is finished and produces the required output the output should be copied into the source code.
How to copy the output into the source code.
Block comments should be written after the closing brace of the program. The sample output will be the very last part or the bottom of the source code.

Run the program and right click in the output window. Click on Select All
Everything in the output window will be highlighted.
Press the Enter key on the keyboard. This copies everything highlighted to the clipboard. Return to the source code and paste inside the block comments.
The sample output is now in the source code.
Updated: Thursday, December 20, 2007 2:36 PM