5MODE7
10 REM Puzzle in 8BS Issue 45 about 1
00 people getting 100 pounds. Faster sol
ution than 2J3's. PGM. NAME: PUZSOL
20 CLS:PRINT''" Men"," Wome
n"," Children"
30 FOR Men%=9 TO 0 STEP-1
40 FOR Women%=100-Men% TO 0 STEP-1
50 Children%=100-Men%-Women%
60 IF (Men%*10)+(Women%*.5)+(Children
%*.125)=100 THEN PRINT Men%,Women%,Child
ren%
70 NEXT Women%
80 NEXT Men%
90 END