Java Program – to check positive or negative number.

Output: