Q2. WAP to accept any number and check the number is odd or even

Enter any number:
The number is: