Computer Science, asked by memerspage7, 6 months ago

WAP to ask user to enter any number and check whether the entered number is odd or even.

Answers

Answered by Deveshu45
0

Answer:

Program to Check Even or Odd In the program, the integer entered by the user is stored in the variable num . Then, whether num is perfectly divisible by 2 or not is checked using the modulus % operator. If the number is perfectly divisible by 2 , test expression number%2 == 0 evaluates to 1 (true).

Answered by priyadharshini936287
0

where is the number......to find.......

Similar questions