Is there any in-built method in Java where you can find the user input\'s type whether it is positive, or negative and so on? The code below doesn\'t work. I am trying to fi
Returns the signum function of the specified int value. (The return value is -1 if the specified value is negative; 0 if the
specified value is zero; and 1 if the specified value is positive.)