This application will give you a chance to use a for loop. Itasks the user to enter a
number from 1 through 100 with this prompt dialog box:
Then, it adds all the numbers from one to the user’s entry anddisplays the sum of the
numbers in an alert dialog box like this:
Then, to give the user a chance to do multiple entries, thisdialog box is displayed:
2. In the script element, add a do-while loop that prompts theuser for an entry from 1
through 100. If the entry is invalid, display an alert box withthis message: “Please
enter a number between 1 and 100”. Then,
PayPal Gateway not configured
PayPal Gateway not configured