Write a program in java to print a number is positive or negative number ..
Answers
Answered by
1
Answer:
negative
Explanation:
Read a number from the user using the Scanner class's method. check whether the given number is greater, lesser or, equal to 0. If it is greater given number is positive if the lesser given number is negative.
Similar questions