In the nine tails problem, when you flip a coin, the horizontal and vertical neighboring cells are

Question:

In the nine tails problem, when you flip a coin, the horizontal and vertical neighboring cells are also flipped. Rewrite the program, assuming that all neighboring cells including the diagonal neighbors are also flipped.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: