Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
16
Task/FizzBuzz/Ursa/fizzbuzz.ursa
Normal file
16
Task/FizzBuzz/Ursa/fizzbuzz.ursa
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
# fizzbuzz
|
||||
#
|
||||
decl int i
|
||||
for (set i 1) (< i 101) (inc i)
|
||||
if (= (mod i 3) 0)
|
||||
out "fizz" console
|
||||
end if
|
||||
if (= (mod i 5) 0)
|
||||
out "buzz" console
|
||||
end if
|
||||
if (not (or (= (mod i 3) 0) (= (mod i 5) 0)))
|
||||
out i console
|
||||
end if
|
||||
out endl console
|
||||
end for
|
||||
Loading…
Add table
Add a link
Reference in a new issue