If Statement with Function

If Statement that Calls a Function

Enter a number and click "Check" to see if it is even:

Result: