Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/FizzBuzz/Euler/fizzbuzz.euler
Normal file
10
Task/FizzBuzz/Euler/fizzbuzz.euler
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
begin new i; label iLoop;
|
||||
i <- 0;
|
||||
iLoop: if [ i <- i + 1 ] <= 100 then begin
|
||||
out if i mod 15 = 0 then ( "Fizz", "Buzz" )
|
||||
else if i mod 5 = 0 then "Buzz"
|
||||
else if i mod 3 = 0 then "Fizz"
|
||||
else i;
|
||||
goto iLoop
|
||||
end else 0
|
||||
end $
|
||||
Loading…
Add table
Add a link
Reference in a new issue