Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
24
Task/FizzBuzz/Comefrom0x10/fizzbuzz.0x10
Normal file
24
Task/FizzBuzz/Comefrom0x10/fizzbuzz.0x10
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
fizzbuzz
|
||||
mod_three = 3
|
||||
mod_five = 5
|
||||
comefrom fizzbuzz
|
||||
n
|
||||
comefrom fizzbuzz if n is mod_three
|
||||
comefrom fizzbuzz if n is mod_five
|
||||
n = n + 1
|
||||
|
||||
fizz
|
||||
comefrom fizzbuzz if n is mod_three
|
||||
'Fizz'...
|
||||
mod_three = mod_three + 3
|
||||
linebreak
|
||||
# would like to write "unless mod_three is mod_five"
|
||||
comefrom fizz if mod_three - mod_five - 3
|
||||
''
|
||||
|
||||
buzz
|
||||
comefrom fizzbuzz if n is mod_five
|
||||
'Buzz'
|
||||
mod_five = mod_five + 5
|
||||
|
||||
comefrom fizzbuzz if n is 100
|
||||
Loading…
Add table
Add a link
Reference in a new issue