Question 1180161
.


If repeating is not allowed, as in question (A), then the answer is 6*5 = 30 different ways.



If repeating is allowed, as in question (B), then the answer is 6*6 = 36 different ways.