Exactly one parameter is positive

Report a typo

Write a program that reads three integer numbers and prints true if only one number is positive.

Otherwise, it is to print false.

Sample Input 1:

1
1
1

Sample Output 1:

false

Sample Input 2:

1
0
-1

Sample Output 2:

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

Create a free account to access the full topic