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:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: