Write some code to find the most likely number of times a dice has to be rolled, before the sum of the numbers rolled surpasses 100. Use math.random(1,6) to simulate a dice roll. (From Engel, p. 101.)← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close