IT 108 Homework 2

Name _________________________
Section_______________________

Warning:  This is to be your own work.  You may not work on this with
other students.  Ask your TA or instructor if you have questions.

Write 3 loops in Java:

1)  The first should write the odd numbers 1-13 on the screen
using a do..while loop.

2)  The second should write the numbers 5, 10, 15, 20 and 25
to the screen using a while loop.

3)  The third loop should write the numbers 100, 99, 98, 97, and
96 to the screen using a for loop.

You do not need to write complete programs, but may wish
to do so to be sure that your code correct.  Each loop
*must* be commented for complete credit.

To mail it to your TA, send it to:
201-203 labs email assignments to: it10801@mason.gmu.edu
204-206 labs email assignments to: it10802@mason.gmu.edu