3 ms·The only random variable in that code is "Random(1, 100)" and its expected value is 50.by haltist 3y agoThe only random variable in that code is "Random(1, 100)" and its expected value is 50.