Computer Science, asked by priyankajain1373, 1 year ago

Write a program to check whether a given number is a non-zero integer number and is positive or negative?

Answers

Answered by ganeshprasadv5
1

Answer:

Explanation:

Input a number from user in some variable say number . Check if(number < 0) , then number is negative. Check if(number > 0) , then number is positive. Check if(number == 0) , then number is zero.

Similar questions