Éowyn has written the function IsOdd() to check if a given number is odd or not. Unfortunately, the function does not return the correct result for all the inputs. Help her fix the error.
IsOdd(-5) ➞ true
IsOdd(25) ➞ true
IsOdd(0) ➞ falseAll the inputs will only be integers.