Dinesman's multiple-dwelling problem: Difference between revisions

Content added Content deleted
(→‎{{header|PureBasic}}: Correct printing order)
(→‎{{header|PureBasic}}: update output)
Line 393: Line 393:
Dim People(4)
Dim People(4)
Dim Conditions(5)
Dim Conditions(5)
Protected a, b, c, d, e, i
Define a, b, c, d, e, i
;
;
;- Load all conditions
;- Load all conditions
Line 433: Line 433:
Baker=3
Baker=3
Cooper=2
Cooper=2
Fletcher=4
Miller=4
Miller=5
Fletcher=5
Smith=1</pre>
Smith=1</pre>