Return 1 when the number is positive, -1 when it is negative, and 0 when it is zero.
int sign(int n)
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.