What? there is nothing to correct because the function
even already returns true or false, unless you just want to rewrite it like this:
bool even(int x1)
{
return (x1%2 == 0) ? true : false;
}
Last edited by Ancient Dragon; Nov 27th, 2007 at 6:41 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Offline 21,963 posts
since Aug 2005