To find radius $ r $ use formula:
$$ V = \dfrac{ h ^{ 2 } \cdot r \cdot \pi}{ 3 } $$After substituting $V = 3.14\, \text{cm}$ and $h = 3\, \text{cm}$ we have:
$$ 3.14\, \text{cm} = \dfrac{ 3\, \text{cm} ^{ 2 } \cdot r \cdot \pi}{ 3 } $$$$ 3.14\, \text{cm} \cdot 3 = 3\, \text{cm} ^{ 2 } \cdot r \cdot \pi $$$$ 9.42\, \text{cm} = 9\, \text{cm}^2 \cdot r \cdot \pi $$$$ r = \dfrac{ 9.42\, \text{cm} }{ 9\, \text{cm}^2 \, \pi} $$$$ r = 0.3332\, \text{cm}^-1 $$