Positive, Negative or Zero

Report a typo

Write a program that reads an integer from the console and prints:

  • if the number < 0 - negative;
  • if the number > 0 - positive;
  • if the number = 0 - zero;

Sample Input 1:

-5

Sample Output 1:

negative
Write a program in Kotlin
fun main() {
// write your code here
}
___

Create a free account to access the full topic