Ad
Fundamentals
Numbers
Data Types
Integers
Code
Diff
  • public static class Kata
    {
        public static bool IsOdd(int input)
        {
            return (input & 1) == 1;
        }
    }
    • public static class Kata
    • {
    • public static bool IsOdd(int input)
    • {
    • return (input % 2 != 0);
    • return (input & 1) == 1;
    • }
    • }