Exercise: The Calculator Object
Let's create an object which performs the basic functions of a calculator.
We'll cover the following...
Problem Statement
In this exercise, you have to implement the calculator
type and create the cal
object from it. Your calculator will perform four basic tasks:
-
Addition
-
Subtraction ...