99 Bottles of Beer/Pascal: Difference between revisions
Content added Content deleted
m (→{{header|Pascal}}: indentation changes) |
m (→{{header|Pascal}}: the special case really should be second) |
||
Line 106: | Line 106: | ||
begin |
begin |
||
for i := 99 downto 1 do |
for i := 99 downto 1 do |
||
if i |
if i <> 1 then |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
begin |
begin |
||
writeln(i, ' bottles of beer on the wall'); |
writeln(i, ' bottles of beer on the wall'); |
||
Line 123: | Line 116: | ||
writeln(i - 1, ' bottles of beer on the wall'); |
writeln(i - 1, ' bottles of beer on the wall'); |
||
writeln; |
writeln; |
||
end |
end |
||
⚫ | |||
end. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |