Computer Science, asked by ns7433475, 1 month ago

the statement a %2 will result to what if the value of a is an even number​

Answers

Answered by yogeshbhuyal7
1

Answer:

when we divide two integers, we get an integer result, for example, 7/3 = 2. We can use it to find whether a number is odd or even. Even numbers are of the form 2*n, and odd numbers are of the form (2*n+1) where n is is an integer. We can divide an integer by two and then multiply it by two.

Similar questions