Numeric expression -- arithmetic calculator

This assignment will test your ability to write programs with user input and using numeric expressions and variables.

Write a program that looks like and does the same thing as this simple arithmetic calculator program.

Note that the program works with floating point input. (I used single precision numbers).

Note also that the "=" and arithmetic operator are blank until the user does the first calculation

Even though you could do this program without variables, do not do so. Assign the user inputs to variables before doing the calculation.

When the program is working, turn in a screenshot showing the result of dividing 1 by 3 and a listing of the event handlers.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.