Mubashir 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 him fix the error.
Bool isOdd(num) {
num%2==1;
}isOdd(-5) ➞ true
isOdd(25) ➞ true
isOdd(0) ➞ falseAll the inputs will only be integers.