Direction:
Eight boxes are arranged in a stack from bottom to top numbered from 1-8 each having a different colour: green, black, blue, white, yellow, orange, red and pink not necessarily in the same order. They contain a different food item: fruits, burger, candy, chocolate, brownie, pastry, chips and coke not necessarily in the same order. The arrangement is based on the following rules:
- The yellow box is kept at an even numbered position
- There are 3 boxes between the yellow box and the box with coke
- White box is either at the top or at the bottom of the stack
- Box number 2 has fruits and it is not yellow in colour
- Box with the Brownie is kept between the box having red colour and the box having chocolate
- The green coloured box is kept 1 boxes above the blue box
- There are 4 boxes between the box with burger and the red coloured box
- There are 3 boxes between the box with brownie and the box with candy
- Pink box is between the box with chips and the orange coloured box
- The red box does not have chips.
Give solution sir plz
5