For class session on 11/02
Use the Firefox browser.
Be srue to open the Error Console. Clear the console messages if necessary.
The user wants to calculate the amount to tip in a restaurant. The user will provide both the amount of the bill and the tip percentage to be used.
Bill Percent Tip Total Cost $17.95 10% $1.80 $19.75
The Lab 15 Start Page has a basic form already created.
*To compute the tip, multiply by the decimal percent. If the entered amount is 15%, you must multiply by 0.15. Your script will have to divide the original value by 100.
Hood College Department of Computer Science: Course materials © 1997-2007 by Elizabeth Chang.