CS 111 - 10/14/14 Last Time: for loops, ++ -- operators Picture Negatives: Lighter colors become dark Darker Colors become light The range of color value is from 0 to 255 0 50 100 150 200 255 |-----|------|--+--|------|-------| The calculation to determine the proper "color negative" value for some value n 255 - n If statement: Selection Statement based on the values and conditions used a section of code may or may not be executed Syntax if ( ) { ; } if the is true, the will get executed if the is flase, the will NOT get executed