Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.