Lab 2.1 - Calculator


Calculators have been around for a long time. In fact, if you know anything about the history of computers, you know that the first computers were really just calculators.

Create a Calculator application. The program should take as input two numerical values. Then, the user chooses one of the six calculation buttons on the form, and the program displays the answer.

Test your program using the values 23 and 7. Your answers for each button (in the order given above) should be 30, 16, 161, 3.28571429, 3, and 2.

As always, design a useful and proper interface.