Ad
Fundamentals
Numbers
Data Types
Integers

Make a function that determines if a number is odd.

public static class Kata
{
    public static bool IsOdd(int input)
    {
        return ((input % 10 == 1) || (input % 10 == 3) || (input % 10 == 5) || (input % 10 == 7) || (input % 10 == 9));
    }
}