For two spheres of radii R and r,
34πr334πR3=(rR)3
so we only need the ratio of the radii, cubed. (π cancels, so no value of π is needed.)
(i) Jupiter to Earth:
637069,900≈10.973
(10.973)3≈1321
The volume of Jupiter is about 1321 times the volume of the Earth, so roughly 1300 Earths would fit inside Jupiter.
(ii) Sun to Earth:
63706,95,700≈109.215
(109.215)3≈13,02,700
The volume of the Sun is about 13 lakh (1.3 million) times the volume of the Earth.