the faces of storage box are to be painted by 6 different colors . in how many ways can be this be done ?
if i have to paint 6 sides with 6 different colour . . . first face can have 6 c 1 options , 2 nd would have 5 c 1 , and subsequent ones would have 4 c 1 , 3 c 1 , 2 c 1 and 1 options respectively . total options = 6 c 1 x 5 c 1 x 4 c 1 x 3 c 1 x 2 c 1 x 1 = 720 distinct ways correct answer - a
multiply(multiply(multiply(multiply(multiply(6, subtract(6, const_1)), const_4), const_3), const_2), const_1)