What do you want to save?
Add Code snippet
New code examples
-
Lua 2021-09-04 09:27:01
Print the sum of all the odd or even numbers until a given number lua
local function Solve(Range, Limit, CrashRange, OddMode) local Range = Range or 1 local Limit = Limit or 1 local CrashRange = CrashRange or 999999999 local OddMode = OddMode or false local Even = {} local Odd = {} local Result =... Add solution
Best helpers
Withkare
+5
S9527
+5
BuckNaked69
+5
Mark Gabriel
+5
Lvoyster
+5
Geoffre14
+5
Arttu
+5
Oddthinking
+5
Kapil
+5
Awgiedawgie
+5
AppleFix88
+5
Jun Czyrka
+5
V0ight
+5
Feynman
+5
Nick Rowe
+5
Cob
+5