Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Department-numbers/Quite-BASIC/department-numbers.basic
Normal file
10
Task/Department-numbers/Quite-BASIC/department-numbers.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
10 REM Department numbers
|
||||
20 PRINT "POLICE SANITATION FIRE"
|
||||
30 FOR P = 2 TO 7 STEP 2
|
||||
40 FOR S = 1 TO 7
|
||||
50 IF S = P THEN 80
|
||||
60 LET F = (12-P)-S
|
||||
70 IF F > 0 AND F <= 7 AND F <> S AND F <> P THEN PRINT " ";P;" ";S;" ";F
|
||||
80 NEXT S
|
||||
90 NEXT P
|
||||
100 END
|
||||
Loading…
Add table
Add a link
Reference in a new issue