CS108 Lab 8: Analyzing Loops in Processing
Due Thursday, March 21, at 3:30 PM
Multiplication Table
Set up nested for loops to print out the multiplication table up through 15. Don't include 0 in the table. String.format("%4d", number) will format to fixed width.
Redundant entries
Add an "if" statement or change the loop conditions to avoid any redundant entries (don't include both 4*3 and 3*4).
Backwards table
Draw the table backwards (high numbers to low numbers instead of low to high). This will require decrementing the loop counter instead of incrementing it, or using some math.