Extra Credit

Calculator

 

Objective: 

Create a scientific calculator.  It should behave like any other scientific calculator where the user presses keys and stuff happens.  This must have a graphical user interface (GUI), and include the following features:

 

Furthermore every time a user enters a number first it should set the running total to said number.  If an operation is entered then that operation is applied to the current total.  If it is a binary operation like addition, subtraction, multiplication, division, and exponent then the following number will be the second number in that function, and applied as soon as the user presses equals.