Comment on Ask HN: How many times will this loop run on average?Comments−haltist2yThe only random variable in that code is "Random(1, 100)" and its expected value is 50.
Comments
The only random variable in that code is "Random(1, 100)" and its expected value is 50.