Find the correct input

Report a typo

Consider the code snippet below:

val a = readln().toInt()
val b = readln().toFloat()
val c = readln()

Which inputs can this code successfully read?

a)

true 
5 
15.5

b)

15.5 
a 
false

c)

kotlin
0 
5 

d)

kotlin 
5
15.5

e)

5
15.5
true
Select one option from the list
___

Create a free account to access the full topic