Complete the function IsEven() with just 1 line of code and without using Mod (%), +,*,-, or any built in functions.
NB. A line of code ends with a ';'
Good luck =D
Code:#include <iostream>
using namespace std;
bool isEven(int f)
{
//code here
}
int main (int argc, char * argv[])
{
int f;
cout << "Enter # ";
cin >> f;
cout << f << ( isEven(f) ? " is even" : " is odd" ) << endl;
return 0;
}