angryziber / kotlin-puzzlers

A collection of Kotlin Puzzlers
422 stars 58 forks source link

Implicitly conversions #35

Open abandon1 opened 6 years ago

abandon1 commented 6 years ago

What will be:

    println(17.0 / 5 / 2 / 2)
    println(17 / 5.0 / 2 / 2)
    println(17 / 5 / 2.0 / 2)
    println(17 / 5 / 2 / 2.0)