- 2

Help me

fun main(args: Array<String>) { var hour = readLine()!!.toInt() var time = 24 var hour=18 if (time>hour) print("Closed") } {if (time<hour) print("Open") }

23rd Jun 2021, 5:11 PM
время Ч
2 ответов
+ 7
fun main(args: Array<String>) { var hour = readLine()!!.toInt() var time = 18 // var hour=18 if (time<=hour){ print("Closed") } if (time>hour) print("Open") }
24th Jun 2021, 2:02 AM
Simba
Simba - avatar
23rd Jun 2021, 6:12 PM
JaScript
JaScript - avatar