This commit is contained in:
Dane Johnson 2024-11-14 12:46:48 -06:00
parent 26bff70b1f
commit d0de70eb54

View File

@ -2,7 +2,7 @@
fizzbuzz <- x -> fizzbuzz <- x ->
if x % 15 = 0 print("fizzbuzz") if x % 15 = 0 print("fizzbuzz")
elif x % 3 = 0 print("fizz") elif x % 3 = 0 print("fizz")
# elif x % 5 = 0 print("buzz") elif x % 5 = 0 print("buzz")
else print(x) else print(x)
if x < 100 fizzbuzz(x + 1) ## TODO add looping construct(s) if x < 100 fizzbuzz(x + 1) ## TODO add looping construct(s)