Ad
Fundamentals
Code
Diff
  • using System;
    
    public class Kata
        {
            public  static int Opposite(int number)
            {
                return -number;
            }
        }
    • using System;
    • public class Kata
    • {
    • public static int Opposite(int number)
    • {
    • // Happy Coding
    • return number*-1;
    • return -number;
    • }
    • }