COSC 106 A, Web Programming
Chapter 11 Lab Exercise

In a file named coins.htm, create a form that allows the user to enter the number of pennies, nickels, dimes, and quarters (each in a separate textbox) and then press a button that displays a message similar to "Your coins are worth a total of $2.35" in a textarea. Each output to this textarea should be appended to the text already displayed, starting with a new line (so if the user presses the calculate button twice, they will see their totals for both sets of coins). Add another button that erases the output textbox, and a third button that enters random numbers (integers) of coins in each textbox, where the number of pennies is from 0 to 4, the number of nickels is from 5 to 10, the number of dimes is from 1 to 5, and the number of quarters is from 2 to 20. This third button does NOT display the total value of these random numbers of coins, but the user can press the calculate button to accomplish this.