Question:

A four-digit number, in the range 0000 to 9999 inclusive, is formed. Find the probability that

(a) the number begins or ends with 0,

(b) the number contains exactly two non-zero digits.

Dear reader,

Can you help me solve this question? I have tried but didn't manage to get the real answer(but I strongly support my own answer).

Thanks