Coding challenge

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.)

Type your code here:


Lua reference

See your results here: