In this exam, you will create a calculator application.
The primary work to be done in this exam is to create a tab-based user-interface with two tabs: Calculator and Scientific Calculator.
Swift calculator that we did in class, which
uses postfix notation. However, the unary operations like √, sin, cos,
and tan are still postfix operations.
Examples:
sin(x), cos(x) or tan(x). The calculation can be considered complete.
Any new input from the user will replace the current result on the display and begin a new calculation.
CalculatorBrain class which maintains its own state. Each tab will have it's
instance of this class. This class will be the model application.
+--------------------+
| 795 + 459 = 1254 |
+--------------------+
| 44 ÷ 11 = 4 |
+--------------------+
| 222 + 8 = 230 |
+--------------------+
| 4 × 12 = 48 |
+--------------------+
+--------------------+
| Additions: |
+--------------------+
| 795 + 459 = 1254 |
+--------------------+
| 222 + 8 = 230 |
+--------------------+
| Divisions: |
+--------------------+
| 44 ÷ 11 = 4 |
+--------------------+
| Multiplications: |
+--------------------+
| 4 × 12 = 48 |
+--------------------+
Please submit the completed final exam on Blackboard as a zip file of your entire project. No other forms of submission will be accepted.