What is logic to find the even and odd no without use of modulus and division?

If you're using C, just check the low order bit. In binary, the low order bit of an odd number is 1, and the low order bit of an even number is 0.