(i) Let the number be where is at the units place, at the tens place and at the hundreds place.
Now when repetition is allowed,
The number of digits possible at is As repetition is allowed, the number of digits possible at and is also at each.
Hence, the total number possible numbers
(ii) Let the number be where is at the units place, at the tens place and at the hundreds place.
Now when repetition is not allowed,
The number of digits possible at is Let’s suppose one of digits occupies place now as the repletion is not allowed, the possible digits for place are and similarly there are only possible digits for place
Therefore, The total number of possible numbers