A variety of things to look at here. Let's look at the code to see my comments.

square this number:

the result is:

Now let's work on some handouts.

Fig 10.2

Fig 10.4

Fig 10.6 roll the dice function.

Table of Contents