Partial assignment #2 page 159

I realize that the homework for 2/27 (page 159 #2) is much harder than I first thought. Also, the problem is easier to code with a "while" loop, which is explained in the book, but wasn't mentioned in class.

So, I will accept the solution to the following problem in its place for 2/27:

Roll 2 dice and tell me whether you win. If you get a 7 or 11, you win. If you get a 2,3 or 12, you lose. If you get anything else, it is a draw, so print out what you rolled.

You must use a loop to roll the one dice two times.

If you can, please play that game 20 times (a bigger for loop) and tell me how many wins and losses and draws you had.

I will accept just one game as homework for 2/27, but please also try to do the game 20 times.