Total number of five-digit numbers are 9(104).
Case I : Choosing two non-zero digits i.e. in C29 ways.
So, number of five-digit numbers containing both digits =25−2.
Case II : Choose one non-zero and one zero as digit i.e. in C19 ways.
So, number of five-digit numbers containing one non-zero and one zero both =24−1.
So, favourable number of ways =C29(25−2)+C19(24−1)=36(30)+9(15)=1080+135=1215
Thus, required probability =9×1041215=104135.