Anda di halaman 1dari 1

radius = prompt("Please insert the radius of the base of the cone.

")
height = prompt("Please insert the height of the the cone.")
volume = radius * radius * 3.14 * height / 3
alert("The volume of the cone is " + volume + " cubed units.")

Anda mungkin juga menyukai