How many numbers can be formed from the digits 1,2,3,4 when the repetition is not allowed
How many 3-digit numbers can be formed from the digits 1, 2, 3, 4 and 5 assuming that
(i) repetition of the digits is allowed?
(ii) repetition of the digits is not allowed?