To find height $ h $ use formula:
$$ V = \dfrac{ r ^{ 2 } \cdot h \cdot \pi}{ 3 } $$After substituting $ V = 6782.4 $ and $ r = 18 $ we have:
$$ 6782.4 = \dfrac{ 18 ^{ 2 } \cdot h \cdot \pi}{ 3 } $$$$ 6782.4 \cdot 3 = 18 ^{ 2 } \cdot h \cdot \pi $$$$ 20347.2 = 324 \cdot h \cdot \pi $$$$ h = \dfrac{ 20347.2 }{ 324 \, \pi} $$$$ h = 19.9899 $$