Sam writes down the numbers 1, 2, 3, ..., 99

(a) How many digits did Sam write, in total?

(b) Sam chooses one of the digits written down, at random.  What is the probability that Sam chooses a 0?

(c) What is the sum of all the digits that Sam wrote down?

AAAaannndd the bot gets it wrong yet again!

(a) 1*9 + 2*89 = 187
(b) 9/187
(c) (1 + 10 + 8)(1+2+3+...+9) = 19*45 = 855

(a) Sam wrote down a total of 99 digits.

(b) The probability that Sam chooses a 0 is 1/99.

(c) The sum of all the digits that Sam wrote down is 4950.