Sie sind auf Seite 1von 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.")

Das könnte Ihnen auch gefallen