Question: Task 2: 1. Write a script that gets from the user the radius of a circle and outputs HTML text (use innerHTML) that displays the

 Task 2: 1. Write a script that gets from the user

Task 2: 1. Write a script that gets from the user the radius of a circle and outputs HTML text (use innerHTML) that displays the circle's diameter, circumference and area. Use the constant value 3.14159 for 1. [Note: You may also use the predefined constant Math.PI for the value of t. This constant is more precise than the value 3.14159. ]

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!