How to check in PHP or JavaScript to display a given digit is EVEN or ODD without using conditional operators or control structures (i.e. without if, for, foreach, do-while, etc)?
For example, If my input is 20 then system should output "EVEN" and for the input 21 output should be "ODD" . Likewise for any numbers.
Any help will be appreciated.