Write a program that reads an integer from input and prints:
"negative" if the number is less than 0;
"positive" if the number is greater than 0;
"zero" if the number equals 0.
Do not output double quotes.
Write a program that reads an integer from input and prints:
"negative" if the number is less than 0;
"positive" if the number is greater than 0;
"zero" if the number equals 0.
Do not output double quotes.
Sample Input 1:
-5Sample Output 1:
negativeCreate a free account to access the full topic