It is given in the question that the volume of the rectangular box is 336 cubic inches . And length is 12 inches and width is 7 inches.
We have to find the height of the box. Let it be h inches .
We will use the formula of volume of rectangular box, which is


Dividing both sides by 84

So the height of the box is 4 inches .