PROGRAMMING
LAB
3
ENTRANCE
ASSIGNMENT
due at the beginning of Programming Lab 3
Review Of: For Loops
for ( x = 0; x < 10; x += 2 ) document.writeln (x);
for ( x = 0; x < 5; x++ ) for ( y = 0; y < 3; y++ ) document.writeln (x + ", " + y);
for ( x = 15; x > 0; x -= 2 ) for ( y = 0; y < x; y++ ) document.writeln (x + ", " + y);