To find height $ h $ use formula:
$$ V = \dfrac{ h ^{ 2 } \cdot r \cdot \pi}{ 3 } $$After substituting $V = 628\, \text{cm}$ and $r = 10\, \text{cm}$ we have:
$$ 628\, \text{cm} = \dfrac{ h ^{ 2 } \cdot \left( 10\, \text{cm} \right)^{4} \cdot \pi}{ 3 } $$$$ 628\, \text{cm} \cdot 3 = h ^{ 2 } \cdot \left( 10\, \text{cm} \right)^{4} \cdot \pi $$$$ 1884\, \text{cm} = 10\, \text{cm} \cdot h ^{ 2 } \cdot \pi $$$$ h ^{ 2 } = \dfrac{ 1884\, \text{cm}}{ 10\, \text{cm} \, \pi } $$$$ h ^{ 2 } \approx 59.9694 $$$$ h \approx \sqrt{ 59.9694 } $$$$ h \approx 7.744 $$