Question: Question 2. 20 points. Everything in this question should go in the q2 folder. The file should be named index.html. Make the title of this

Question 2. 20 points.

Everything in this question should go in the q2 folder. The file should be named index.html.

  • Make the title of this page: (Your Name)s Larger of Three Numbers

  • This will be identical to the previous question, except with three inputs!

  • Include the necessary html documentation using comments. Make sure that you include your name, class number, section number, and the date.

  • Create these empty div element(s) on the screen: results

  • Put three input text boxes on the screen and a button. Label the first box as Enter the first number. and the second Enter the second number. and on the third Enter the third number. Put a button on the screen with the text that reads Determine the larger number.

  • When the user enters three numbers and clicks the button, the results div box should print which of the three numbers is largest (First or Second or Third) along with the actual number. This output should be written as a complete sentence, such as The third number (102) is largest.

  • This question will be tricky, because sometimes youll get (4, 4, 5) and one number is largest. Sometimes youll get (4, 5, 5) and two numbers will be largest. If two numbers are equal and larger than a third, just print that one of the numbers is largest. If all three numbers are the same, just print that one is largest.

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!