10 lines
222 B
Plaintext
10 lines
222 B
Plaintext
|
## Obligatory
|
||
|
fizzbuzz <- x ->
|
||
|
if x % 15 = 0 print("fizzbuzz")
|
||
|
elif x % 3 = 0 print("fizz")
|
||
|
# elif x % 5 = 0 print("buzz")
|
||
|
else print(x)
|
||
|
if x < 100 fizzbuzz(x + 1) ## TODO add looping construct(s)
|
||
|
|
||
|
fizzbuzz(1)
|