Answer:
Diameter of sphere = 18 cm
Explanation:
Volume of Cylinder and Sphere:
Cylinder:
Diameter = 18 cm
r = 18÷ 2 = 9 cm
h = 12 cm

= π * 9 * 9 * 12 cm³
Sphere:

Solid cylinder is melted and turned into a solid sphere.
Volume of sphere = volume of cylinder

![\sf r^(3)= (\pi *9*9*12*3)/(4*\pi )\\\\ r^(3)=9 * 9 *3 *3\\\\\\r = \sqrt[3]{9*9*9}\\\\ r = 9 \ cm\\\\diameter = 9*2\\\\\boxed{diameter \ of \ sphere = 18 \ cm}](https://img.qammunity.org/2023/formulas/mathematics/college/v98qyn392m8w99nbi04b7shjphrq8b2m7a.png)