1. Set Target to 7, Guesses to
0, and BobCorrect to false.
2. While Guesses < 3 and
BobCorrect is false, Do step 3 through step 9
3. Get BobGuess.
4. Add 1 to Guesses.
5. If BobGuess equals Target then
6. Output "Bob gets a kiss!"
7. Set BobCorrect to true.
8. Else
9. Output "Sorry Bob."
10. If BobCorrect is false, then
11. Output "Three strikes and you're out.
Kiss your sister."
12. Stop