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
6
Task/FizzBuzz/Coco/fizzbuzz-1.coco
Normal file
6
Task/FizzBuzz/Coco/fizzbuzz-1.coco
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
for i from 1 to 100
|
||||
console.log do
|
||||
if i % 15 == 0 then 'FizzBuzz'
|
||||
else if i % 3 == 0 then 'Fizz'
|
||||
else if i % 5 == 0 then 'Buzz'
|
||||
else i
|
||||
2
Task/FizzBuzz/Coco/fizzbuzz-2.coco
Normal file
2
Task/FizzBuzz/Coco/fizzbuzz-2.coco
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
for i from 1 to 100
|
||||
console.log(['Fizz' unless i % 3] + ['Buzz' unless i % 5] or String(i))
|
||||
Loading…
Add table
Add a link
Reference in a new issue