Loops 2 - for, do while
examples
Classwork
In a text document:
For each, think about input,
including variable names and types; prompt the user for input.
- Print the even numbers from 10 to 100
- Have the user try to guess a secret word, using a do-while,
afterwards report how many guesses it took
- Print the cubes of the numbers from 1 to 10, saying what each
one is, e.g. "3 cubed is 27"