|
Modify the HTML document that you created yesterday to include a form
that contains three text boxes. Name the boxes abox, bbox, and cbox.
Use the text boxes to allow the user to enter three numbers.
Assign the values entered in the boxes to the corresponding
variables a, b, and c.
Calculate and display the largest, smallest, and middle values from the three
text boxes with the appropriate text that descibes the position of each value.
Sample browser window content is given below. The largest is 7 The middle value is 5 The smallest is 3 Replace the if.html page with this newly updated page. EXTRA CREDIT: Use four text boxes and display all four values in order from biggest to smallest (descending order). |