Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun main() {
- when(4){
- 1 -> println("Ready")
- 2 -> println("Set")
- 3 -> println("Go!")
- else -> {
- println("Command is not Ready, Set and Go!")
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement