Monday, October 30, 2006

In class quiz:

Ask the user to enter the number of pennies, the number of nickels, the number of dimes, and the number of quarters. Return to the user the exact amount (in dollars).


Save the html file as "change.html" on your desktop.


Hint: After you prompt the user you need to turn the string into an integer:

parseInt( )




No comments: