HW2 — CSE 331 17au

Due: Thursday, October 12 by 11pm.

Overview

In this assignment, you will practice verifying the correctness of loops and writing loops that are correct.

Problems

Solve the problems described in this worksheet.

Feel free to rewrite the problems on a separate sheet. You do not have to turn in these exact pages with the blanks filled in (though you can do that as well). It is okay to submit a scanned copy of a hand-written document as long as it is legible (and meets the size restriction), so you can also print the worksheet, write your answers on that, and scan it when done.

Submission

You will need to submit your solutions as a PDF. The file should be no more than 10 MB in size. (Email kevinz@cs if this is a problem for you.)

Make sure your name is on your solution.

Use the drop box to turn in the PDF file of your solutions.