Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 367 Bytes

File metadata and controls

8 lines (5 loc) · 367 Bytes

Adding and subtracting of two integers

You should implement the next methods:

  • The Task.sum() method which takes two integers and returns their sum.
  • The Task.sub() method which takes two integers, subtracts the second one from the first and returns the result.

There is no need to bother about overflow and underflow. All test values will be pretty small.