/*********************************************************************
 * Name:
 * NetID:
 * Precept:
 * 
 * Description: Prints the integers from 100 to 200, 5 per line.
 **********************************************************************/

// Debugging exercise! This one compiles, but doesn’t run correctly,
// it has an infinite loops.

public class BuggyFivePerLine3 { 
    public static void main(String[] args) { 
        int i;

        // print integers from 100 to 200, 5 per line
        for (i = 100; i < 200; i -= 5) {
            for (int j = 0; j < 5; j += 1) 
                System.out.print(i +  j + " ");
           
            System.out.println();
        }
        System.out.println(i);
    }
}