Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
23
Task/Department-numbers/Craft-Basic/department-numbers.basic
Normal file
23
Task/Department-numbers/Craft-Basic/department-numbers.basic
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
print "P S F"
|
||||
|
||||
for p = 2 to 7 step 2
|
||||
|
||||
for s = 1 to 7
|
||||
|
||||
if s <> p then
|
||||
|
||||
let f = (12 - p) - s
|
||||
|
||||
if f > 0 and f <= 7 and f <> s and f <> p then
|
||||
|
||||
print p, " ", s, " ", f
|
||||
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
next s
|
||||
|
||||
next p
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue