WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
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;
}
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343