Computer Science, asked by Fadufari7333, 1 day ago

To check if a given number is even or odd

Answers

Answered by yoyo1ONMIJM33
0

Answer:

The numbers which are divisible by 2 are EVEN numbers and which are not divisible by 0 are not as ODD numbers. To check whether given number is EVEN or ODD, we are checking modulus by dividing number by 2, if the modulus is 0, then it will be completely divisible by 2 hence number will be EVEN or its will be ODD.

SORRY FOR BEING LATE TO GIVE YOUR ANSWER

Similar questions