Functions
Function-06
Function-07
Function-08
~/algor $ cat problems/funksiya-juftmi
Is it even
Easy
1000 ms
128 MB
22%
Write a function IsEven(x) that returns true if the integer $x$ is even and false otherwise.
Example 1: IsEven(4) → true
Example 2: IsEven(7) → false
Write only the function body.
Input
One line with an integer $x$ — the argument of the function.
Output
The value returned by the function: true or false.
Note
$-10^{9} \le x \le 10^{9}$
Examples
Input #1
4
Output #1
true
Input #2
7
Output #2
false