Display even and odd numbers without if statement in C++

3Shares