Java Program to check positive or negative numbers.

Output: