Question: Referring to Figure 2, write a JavaScript function onsubmit() to allow users to key in the values of Length and Width, then calculate the area
Referring to Figure 2, write a JavaScript function onsubmit() to allow users to key in the values of Length and Width, then calculate the area of rectangle. Display back the input number from the user and area of rectangle using a message Box.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
