Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var integer = 3
- switch integer {
- case 4:
- print("Four.")
- fallthrough
- case 3:
- print("Three.")
- fallthrough
- case 2:
- print("Two.")
- fallthrough
- case 1:
- print("One.")
- fallthrough
- default:
- print("Done.")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement