next up previous
Next: About this document ... Up: Programming assignment Previous: Resize the window

Clean up and turn in

1.
Clean up your code, and add comments explaining anything about the program you think is not obvious. The comment in the code above is a good example of a comment that gives a high-level description of the paragraph of code that follows (a paragraph is a cluster of lines that does something coherent). Roaster has a nice feature that automatically indents your code correctly. Select the part of the program you want to clean up and press the Quick Format button on the tool bar (it's just to the left of the magnifying lens).

2.
Print your code, write your name in the upper right-hand corner, and hand it in.



Allen B. Downey
2/11/1998