in c ++ what is the program to find if the number is odd or even
Answers
Answered by
1
Explanation:
To check whether an integer is even or odd, the remainder is calculated when it is divided by 2 using modulus operator %. If remainder is zero, that integer is even if not that integer is odd.
Similar questions