It is given that the volume of the pyramid is 700 cubic centimeters.
The Formula for the volume of square pyramid is given by:

Where a is the side of base and h is the height
Here V=700 and a=10 so it follows:

Hence the height of the pyramid is 21 centimeters.