A right pyramid with a square base has a volume of 252 cubic centimeters.
The length of one of the sides of its base is 6 centimeters. Rounded to the nearest centimeter, what is the vertical height of the pyramid?