mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Massive renaming
This commit is contained in:
parent
241ab0a9ae
commit
61296c51e7
152 changed files with 45 additions and 29 deletions
16
regression/test013.lama
Normal file
16
regression/test013.lama
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
local n = read ();
|
||||
|
||||
repeat
|
||||
|
||||
if n == 1 then write (0)
|
||||
elif n == 2 then write (1)
|
||||
elif n == 3 then write (2)
|
||||
elif n == 4 then write (3)
|
||||
else write (10)
|
||||
fi;
|
||||
|
||||
if n >= 5 then write (11) fi;
|
||||
|
||||
n := n - 1
|
||||
|
||||
until (n == 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue