if / elseif / else / end.
Goal
Label a kiosk busy or quiet.
local units = 12
if units >= 10 then
print("busy")
else
print("quiet")
endlocal city = "Mombasa"
if city == "Nairobi" then
print("capital")
elseif city == "Mombasa" then
print("coast")
else
print("other")
endlocal units = 5
print(units >= 10 and "busy" or "quiet")local n = 0
if n then
print("truthy")
else
print("falsy")
end