Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Here's a Kotlin Multiplatform code snippet that prints a greeting message and some details. Can you reorder the lines of code to make it work correctly?Tools for KMP
DISABLE_10
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
println("Target: $target")
fun main() {
val greeting = "Hello, Kotlin Multiplatform!"
}
val version = "1.7.0"
println("Version: $version")
println("$greeting")
val target = "JVM"
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.