Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
Fundamentals
Code
Diff
  • using System;
    
    public class Kata
        {
            public  static int Opposite(int number) => number/-1;
        }
  • 11
    using System;
    
    22
    33
    public class Kata
    
    44
        {
    
    5
            public  static int Opposite(int number)
    
    6
            {
    
    7
                // Happy Coding
    
    8
                return number/-1;
    
    9
            }
    
    5+
            public  static int Opposite(int number) => number/-1;
    
    1010
        }