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
13
Task/FizzBuzz/Monte/fizzbuzz.monte
Normal file
13
Task/FizzBuzz/Monte/fizzbuzz.monte
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
def fizzBuzz(top):
|
||||
var t := 1
|
||||
while (t < top):
|
||||
if ((t % 3 == 0) || (t % 5 == 0)):
|
||||
if (t % 15 == 0):
|
||||
traceln(`$t FizzBuzz`)
|
||||
else if (t % 3 == 0):
|
||||
traceln(`$t Fizz`)
|
||||
else:
|
||||
traceln(`$t Buzz`)
|
||||
t += 1
|
||||
|
||||
fizzBuzz(100)
|
||||
Loading…
Add table
Add a link
Reference in a new issue