To find height $ h $ use formula:
$$ V = \dfrac{ r ^{ 2 } \cdot h \cdot \pi}{ 3 } $$After substituting $ V = 628 $ and $ r = 10 $ we have:
$$ 628 = \dfrac{ 10 ^{ 2 } \cdot h \cdot \pi}{ 3 } $$$$ 628 \cdot 3 = 10 ^{ 2 } \cdot h \cdot \pi $$$$ 1884 = 100 \cdot h \cdot \pi $$$$ h = \dfrac{ 1884 }{ 100 \, \pi} $$$$ h = 5.997 $$