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,

Show me html code and output,please  Show me html code and output,please 1. Create an HTML document,

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!