Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. // Leaves inlined
  2. output
  3. assign n 0
  4. repeat
  5. test isLower n 100
  6. concatenate
  7. test
  8. equals
  9. modulo n 3
  10. 0
  11. "Fizz"
  12. ""
  13. test
  14. equals
  15. modulo n 5
  16. 0
  17. "Buzz"
  18. ""
  19. add n 1
  20.  
  21.  
  22. // Implicite operations
  23. output
  24. = n 0
  25. repeat
  26. test < n 100
  27. concatenate
  28. test
  29. ==
  30. % n 3
  31. 0
  32. "Fizz"
  33. ""
  34. test
  35. ==
  36. % n 5
  37. 0
  38. "Buzz"
  39. ""
  40. + n 1
  41.  
  42.  
  43.  
  44. // Full vertical
  45. output
  46. assign
  47. n
  48. 0
  49. repeat
  50. test
  51. isLower
  52. n
  53. 100
  54. concatenate
  55. test
  56. equals
  57. modulo
  58. n
  59. 3
  60. 0
  61. "Fizz"
  62. ""
  63. test
  64. equals
  65. modulo
  66. n
  67. 5
  68. 0
  69. "Buzz"
  70. ""
  71. add
  72. n
  73. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement