...

/

Challenge 3: Implement a Calculator Class

Challenge 3: Implement a Calculator Class

In this exercise, you have to implement a calculator which can perform addition, subtraction, multiplication, and division.

Problem Statement

Write a C++ class called Calculator with

  • private member variables:

    • num1 and num2 (float type)

And member functions:

  • ...