Question: Create a webpage using HTML with a JavaScript block in the section another in the of the document. In the , create four JavaScript functions.
Create a webpage using HTML with a JavaScript block in the
section another in the of the document. In the , create four JavaScript functions.1. to add the number 2. to subtract the numbers 3. Divide the numbers 4. Multiply the first two and divide the total by the third
In the
block, get 3 numbers from the user and assign them to variables. Using the document.write statement:1. Send the three values to the add function to add them together. Return the answer.
2. Send the three values to the subtract function to subtract them. Return the answer
3. Send the three values to the multiply function to multiply them. Return the answer.
4. Send the three values to the divide function. Multiply the first two and then divide by the third.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
