Check the value

Report a typo

Write a program that reads a value from standard input and prints true if the number is greater than 0 and less than 10, otherwise prints false.

Sample Input 1:

0

Sample Output 1:

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

Create a free account to access the full topic