Let radius of each ball is $r$ and of can is $R$. So from side view, $$\text{Width of can}=4r=2R\implies R=2r$$ Since volume of can is: $\text{Base area}\times\text{Height}$, $$(\pi R^2)(2r)=100\pi\implies R^2r=50\implies (4r^2)r=50$$ $$r=\sqrt[3]{12.5}\approx2.32$$