Lab 5: Calculator

This assignment, worth 20 points, is to complete the calculator which I began in class.

Grading

  1. Complete the remaining number keys and arithmetic functions; display "INF" for divide-by-zero (4 points)
  2. Implement "memory" functions: M, M+, M-, M*, and M/ (4 points)
  3. Add floating point key and disallow multiple decimals during number input (4 points)
  4. ON/OFF button, with "dark" display (as shown in class) (2 points)
  5. Right-justify display (4 points)
  6. Add "+/-" key to change sign of display.

Give Tina a diskette with (only) the file calc.html and any additional graphics files you might reference in calc.html.