1898*1024 = 1,943,552 ( Jupiter)
5.97*1024= 6,113.28 (earth)
1989000*1024 = 2,036,736,000( sun )
So, 1943552/6113.28 = 317.9229480737018, round it and you get 317.9, which means 317 earth’s can fit inside Jupiter.
Now to find how many Jupiter’s would fit inside the sun, you would divide:
2,036,736,000/1,943,552= 1,047.945205479452, rounding it, you would get 1047.9, which means 1047 Jupiter’s can fit inside the sun.