new files
This commit is contained in:
parent
3af7344581
commit
86c034bb8b
1364 changed files with 21352 additions and 0 deletions
11
Task/FizzBuzz/Lua/fizzbuzz-1.lua
Normal file
11
Task/FizzBuzz/Lua/fizzbuzz-1.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
for i = 1, 100 do
|
||||
if i % 15 == 0 then
|
||||
print("FizzBuzz")
|
||||
elseif i % 3 == 0 then
|
||||
print("Fizz")
|
||||
elseif i % 5 == 0 then
|
||||
print("Buzz")
|
||||
else
|
||||
print(i)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue