Answer to Section 7.17 Write a JavaScript Program for the following problem.

Using an approach similar to that in Exercise 7.15, find the two largest values among the 10 digits entered. [Note: You may input each number only once.]
Back to chapter 7


Two Largest of 10 numbers Entered



The largest number entered was: unknown
The next largest number was: unknown