Squirrel uses .nut not .net

This commit is contained in:
Ingy döt Net 2013-04-11 13:02:47 -07:00
parent d546ec06e6
commit 03ef722d2a
4 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,14 @@
function Fizzbuzz(n) {
for (local i = 1; i <= n; i += 1) {
if (i % 15 == 0)
print ("FizzBuzz\n")
else if (i % 5 == 0)
print ("Buzz\n")
else if (i % 3 == 0)
print ("Fizz\n")
else {
print (i + "\n")
}
}
}
Fizzbuzz(100);