Course Solutions Uncategorized (Solved) : Application Give Chance Use Loop Asks User Enter Number 1 100 Prompt Dialog Box Adds Numbe Q30220357 . . . .

(Solved) : Application Give Chance Use Loop Asks User Enter Number 1 100 Prompt Dialog Box Adds Numbe Q30220357 . . . .

 

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,

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post