Answers for "repeat until lua"

Lua
1

repeat until in lua

repeat
   statement(s)
until( condition )
Posted by: Guest on May-13-2020
1

repeat until lua

-- Prints all square numbers up to 100

c = 1
repeat
print(c .. " squared is " .. c*c)
c = c + 1
until c == 101
Posted by: Guest on April-10-2020

Browse Popular Code Answers by Language