Completing variable declarations and a comparison operation

Report a typo

Consider the following piece of Kotlin code with missing declarations. This code is meant to declare various variables of different basic types, perform a comparison operation and print out a message based on the comparison result. Your task is to fill in the blanks with suitable data types to make the program work as described: it should declare a byte, an integer, a floating-point number, and a boolean based on the comparison, then construct a message string using string interpolation.

Fill in the gaps with the relevant elements
fun main() {
    val myByte:  = 124
    val myInt:  = 100
    val myFloat:  = 10.0F
    val isTrue:  = myInt.toFloat() == myFloat * 10
    val message = "The comparison is: $isTrue"
    print(message)
}
FloatByteBooleanInt
___

Create a free account to access the full topic