SHARE
TWEET

Untitled

a guest Jul 20th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var integer = 3
  2. switch integer {
  3. case 4:
  4.     print("Four.")
  5.     fallthrough
  6. case 3:
  7.     print("Three.")
  8.     fallthrough
  9. case 2:
  10.     print("Two.")
  11.     fallthrough
  12. case 1:
  13.     print("One.")
  14.     fallthrough
  15. default:
  16.     print("Done.")
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top