Respuesta :

You can solve this by using 8!
when you put this through a calculator, you'll get 40320.

Therefore, eight boxes can be arranged in 40,320 different ways on a shelf.

Hope that helps :)