Given an integer
number. Write a function bool IsOdd(int number) that returns true if the number is odd, and false if it is even.Example 1
Input: number = 0
Output: false
Explanation: 0 is considered an even number
Output: false
Explanation: 0 is considered an even number
Example 2
Input: number = 4
Output: false
Explanation: 4 is divisible by 2 with no remainder
Output: false
Explanation: 4 is divisible by 2 with no remainder
Example 3
Input: number = 5
Output: true
Explanation: 5 divided by 2 gives a remainder of 1
Output: true
Explanation: 5 divided by 2 gives a remainder of 1