Skip to content

Andoliv/Calculator-Week1

Repository files navigation

Calculator

This is a simple calculator that can perform basic arithmetic operations.

Create a calculator .NET console application with the following requirements:

  1. The calculator should be able to perform the following operations: addition, subtraction, multiplication.
  2. Create an abstract class called CalculatorBase, which contain Add, Subtract, Multiply functions. All 3 function takes exactly 2 integer arguments as input.
  3. Inherit the Astract base class with a class called Calculator, which overrides the Add, Subtract, Multiply functions.
  4. Call each of the calculator functions from Program.cs file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages