Advertisement
Guest User

fizzbuzz json

a guest
Dec 12th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.85 KB | None | 0 0
  1. [
  2.   [
  3.     {
  4.       "type": "for_loop",
  5.       "var_name": "i",
  6.       "iterator": {
  7.         "type": "iterator",
  8.         "rLow": 0,
  9.         "rHigh": 100
  10.       }
  11.     }
  12.   ],
  13.   [
  14.     "",
  15.     "",
  16.     "",
  17.     "",
  18.     {
  19.       "type": "if",
  20.       "condition": "!(i%15)"
  21.     }
  22.   ],
  23.   [
  24.     "",
  25.     "",
  26.     "",
  27.     "",
  28.     "",
  29.     "",
  30.     "",
  31.     "",
  32.     {
  33.       "type": "out",
  34.       "output": "'fizzbuzz'"
  35.     }
  36.   ],
  37.   [
  38.     "",
  39.     "",
  40.     "",
  41.     "",
  42.     {
  43.       "type": "else-if",
  44.       "condition": "!(i%3)"
  45.     }
  46.   ],
  47.   [
  48.     "",
  49.     "",
  50.     "",
  51.     "",
  52.     "",
  53.     "",
  54.     "",
  55.     "",
  56.     {
  57.       "type": "out",
  58.       "output": "'fizz'"
  59.     }
  60.   ],
  61.   [
  62.     "",
  63.     "",
  64.     "",
  65.     "",
  66.     {
  67.       "type": "else-if",
  68.       "condition": "!(i%5)"
  69.     }
  70.   ],
  71.   [
  72.     "",
  73.     "",
  74.     "",
  75.     "",
  76.     "",
  77.   ]
  78. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement