Comparison of two integers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi !

i am working with this assignment which is to create a program..to compare
two integers to see if it's an even or an odd number..
it accept only 1 input from the user..
the catch is to do this without using any condition statement...
can not use if..else, for loop, switch or any other condition statement..
Really appreciate you help...
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top