Computer Science, asked by gabrielmanu66, 2 months ago

write a program to determine a number press on the keyboard is even or odd number​

Answers

Answered by CuteBunny21
0

Answer:

\huge\mathcal{\fcolorbox{aqua}{azure}{\red{❖Answer}}}

To understand this example, you should have the knowledge of the following C++

Answered by XxProperPatollaxX
1

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.

Hope its helpful.

Similar questions