Check if a Number is Odd

Learn Bit Manipulation DSA practice problem on Onlearn.

Difficulty: easy.

Topics: How can you check if a number is odd or not?, Basic Arithmetic, Conditional Statements, Bitwise Operations, Input/Output Operations, Data Types, mathematical operations, number properties, conditional logic, bit manipulation, Parity Checking, If-Else Statement.

Parity Check Given an integer, determine if it is odd or even. Input Specification A single integer N ( 10^9 <= N <= 10^9). Output Specification Print "Odd" if N is odd, and "Even" if N is even. Sample Input 1 Sample Output 1 Sample Input 2 Sample Output 2 Sample Input 3 Sample Output 3 Sample Input 4 Sample Output 4