Gain an understanding nested for loops



If you do not understand this assignment, 
ask Mr. Cusack and/or come to his tutorials.

Overview
• Use Eclipse to program using java
• Code and run the nest for loop program below.
• Copy code to the Board.
• Step thru the program for me.

• Your files will be:
	• PX_NestTable_lastname.java (java program)
	• PX_NestTable_lastname.png (Screen print)
	• PX_NestBoard_lastname.png (Print of Board)
	• PX_NestTable_lastname.mp4 (video of you running your program)
• Drop off all 4 files into google classroom.

Have your team explain this program to me.
 
public class PX_NestTable_lastname
{
	public static void main(String[] args)
	{
		int count = 0;
		for (int r=0; r<3; r++)
		{
			for (int c=0; c<5; c=c+2)
			{
				count++;
				System.out.print("r:" + r +
						" c:" + c +
						" count:" + count);
				System.out.println();		
			}
			System.out.println();
		}
	}
}

Click here for a video explanation.

Materials
• Computer
**************************************************
Your output should show up at the Eclipse console.