Calculate Average

Return the floored average of an array of numbers.

Topics: tables, loops, math. Solve this Luau challenge inside Luablox with visible examples and hidden tests.

Understand loop structures in Luau, including numeric, while, generic pairs, and ipairs iterators.

Browse all Luau problems

Read a theory lesson

Related pages