A positive number is a number which is greater than 0, a negative number is a number which is less than 0, else the number is Zero.
Given a number num, we have to check whether it is positive, negative, or zero.
Example:
Input:
num = 12321
Output:
12321 is positive
Program to check number is positive, negative or zero in Kotlin
Output
need an explanation for this answer? contact us directly to get an explanation for this answer