12345
int IsEven() { cout << "enter a number:"; int x; }
1234
int IsEven(x) { cout <<"enter a number:; }
int IsEven(x) { return !(x%2) } // Now you can call IsEven(15), when x becomes 15 and the function returns 0