...

/

Challenge 4: Implement a Calculator Class

Challenge 4: 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 fields:

    • _num1 and _num2 (double type)
  • Methods:

    • Add(), a method which returns the ...