CS 111 - 10/9/23 Picture Manipulation Picture ==> pixels - Picture Elements ==> Position ==> x (column), y (row) coordiate 0, 0 is upper left corner ==> Color ==> red 0 - 255 ==> green 0 - 255 ==> blue 0 - 255 For loop - variation on the while loop The 3 parts of the while loop - initialization - condition - increment become combined on a single line in a for loop for ( ; ; ) { ; } The following while loop int x; x = 1; while ( x <= 10 ) { System.out.println (x); ++x; } becomes the following for loop int x; for ( x = 1 ; x <= 10 ; ++x ) { System.out.println (x); }