Using random integers, as given by math.random(low,high), write a short program to simulate 5 people having matching coin flips. Find the percentage of five-of-a-kind results after 125 flips. (From Cheney, p. 571.) ← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close