![](https://i0.wp.com/referbruv.com/wp-content/uploads/2022/05/banner-image-codelogic-new.png?fit=768%2C384&ssl=1)
Check if a given number is Even or Odd
Any number which is divisible by 2 is called as an Even number, and any number which is not divisible by 2 is called an Odd number. Examples of Even numbers are all multiples of 2 such as 2,4,6,8,10 .. and Odd numbers are 1,3,5,7,9,..