Question: Show me html code and output,please 1. Create an HTML document, YourLastName A4_js.htnl 2. Inside the body element, add an input textbox and a button,
1. Create an HTML document, YourLastName A4_js.htnl 2. Inside the body element, add an input textbox and a button, . Your script element should (a) prompt the user for the radius of a sphere, (b) calculate the volume of the sphere, and (c) display the radius and volume. Use the statement volume = ( 4.0 / 3.0 ) * Math.PI * Math.pow ( radius, 3); to calculate the volume. Caculate the volume of a sphere Enter the radius of a sphere 14 meters Calculate the volume volume 11494.040321933855 cubic meters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
