Last active
August 12, 2023 13:11
-
-
Save faizul14/c0d462fecacc9d749b48b8329c929c3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val result = run { | |
val a = 10 | |
val b = 20 | |
a + b | |
} | |
println("Result: $result") | |
// Output: Result: 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment