I know how to right c++ code to determine in an (int) is odd or even. How would I add a boolean function to do the same thing. I have to input an number then determine if it's odd or even.
I have to add 3 numbers one at a time then determine if each is either odd or even.