99 bottles improved

This commit is contained in:
Mattia Mascarello 2021-09-29 20:41:35 +02:00
parent beaf429cbb
commit 8f196de1c4

View File

@ -1,11 +1,8 @@
INT i INT i
INT im
SET i 99 SET i 99
:beg :beg
OUT bottles of beer on the wall,$i$ bottles of beer\n OUT bottles of beer on the wall,$i$ bottles of beer\n
CP im i
DEC im 1
OUT Take one down and pass it around, $im$ bottles of beer on the wall\n
DEC i 1 DEC i 1
OUT Take one down and pass it around, $i$ bottles of beer on the wall\n
JME beg i 1 JME beg i 1
END END