Given that Radius of cone = 12cm
Height of the cone = 24cm
So,

= 1152π cm3
It is also given that diameter of each spherical balls = 6cm
so, Radius of each ball = 3cm

= 36π cm3
Total number of balls formed by melting the cone

= 32
Hence, 32 balls are formed by melting the cone.