Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
12
Task/FizzBuzz/ArkScript/fizzbuzz.ark
Normal file
12
Task/FizzBuzz/ArkScript/fizzbuzz.ark
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(import std.Range)
|
||||
|
||||
(let r (range:range 0 100))
|
||||
(range:forEach r
|
||||
(fun (e)
|
||||
(if (= 0 (mod e 15))
|
||||
(print "FizzBuzz")
|
||||
(if (= 0 (mod e 3))
|
||||
(print "Fizz")
|
||||
(if (= 0 (mod e 5))
|
||||
(print "Buzz")
|
||||
(print e))))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue