Hi all,
This is a "very beginner" questions so I apologize. Anyway, I am trying to understand how this line of code can detect only even number?
while( x % 2 != 0)
I understand that "%" will output only the reminder of x / 2 but, what if x is some other number than 2?
Thanks.