12 lines
416 B
Text
12 lines
416 B
Text
print "--police-- --sanitation-- --fire--"
|
|
|
|
for police = 2 to 7 step 2
|
|
for fire = 1 to 7
|
|
if fire = police then continue for
|
|
sanitation = 12 - police - fire
|
|
if sanitation = fire or sanitation = police then continue for
|
|
if sanitation >= 1 and sanitation <= 7 then
|
|
print rjust(police, 6); rjust(fire, 13); rjust(sanitation, 12)
|
|
end if
|
|
next fire
|
|
next police
|