Use JSFiddle to write the program below. Include appropriate comments throughout your program: One comment at the beginning describing the purpose of the program and at least two additional comments throughout that describe each procedure. Make sure that you have logged in to your account before you begin so that the URL with your name is displayed. ------------------------------------------------------------------------------------------------- Use the prompt function twice to obtain two numbers and assign a variable to each number. Create a third variable to store the product (the result of multiplication) of the first two variables. Use document.write to display a statement that utilizes concatenation, a string and the variables for all three numbers. For example: The product of (first variable) and (second variable) is (third variable). Isn’t that great? Submit a link to your completed JSFiddle link.
Use JSFiddle to write the
Include appropriate comments throughout your program: One comment at the beginning describing the purpose of the program and at least two additional comments throughout that describe each procedure.
Make sure that you have logged in to your account before you begin so that the URL with your name is displayed.
-------------------------------------------------------------------------------------------------
Use the prompt function twice to obtain two numbers and assign a variable to each number.
Create a third variable to store the product (the result of multiplication) of the first two variables.
Use document.write to display a statement that utilizes concatenation, a string and the variables for all three numbers. For example:
The product of (first variable) and (second variable) is (third variable). Isn’t that great?
Submit a link to your completed JSFiddle link.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps