Very simple, given a number (integer / decimal / both depending on the language), find its opposite (additive inverse).
Examples:
1: -1
14: -14
-34: 34Solution
public class Kata
{
public static int opposite(int number)
{
return number = -number;
}
}