Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 757 Bytes

README.markdown

File metadata and controls

27 lines (17 loc) · 757 Bytes

Fraction Calculator

Simple fraction calculator that I should write on C# for my education.

Change log:

25-03-2012:

Task description

The task is to implement a fraction calculator API such that the following can be achieved by a client using the API:

  1. All fractions are represented in the form of Numerator and Denominator, including results.
  2. Addition
  3. Subtraction
  4. Multiplication
  5. Division
  6. It is expected to throw correct exceptions.

Implement the API in a Visual Studio C# project and make it compile. If possible, make sure that at least part of the API is covered with unit tests.