Make a grid in the upper right quadrant, and at location $(i, j)$ put the rational number $(i/j)$.
Now traverse the grid along diagonal lines where $i + j = c$, i.e. in the order
1/1
2/1 1/2
3/1 2/2 1/3
4/1 3/2 2/3 1/4
...
Eventually you will hit every number $i/j$ (in particular, it'll be in the $k$th row, where $k = i + j$.
This gives a surjective map $f$ from $\mathbb N$ to the positive rationals.
Now: split $\mathbb N$ into three groups: $0$, positive evens, and positive odds.
Send $0$ to $0$. Send $2n$ to $f(n)$. And send $2n+1$ to $-f(n)$. That defines your surjective function.