If f:Z→Z is defined by f(x)=⎧⎨⎩x2if x is even0if x is odd then f is
If f:Z→Z is defined by f(x)={x2 if x even0 if x odd then f is