Anonymous user
Two bullet roulette: Difference between revisions
m
→{{header|REXX}}: elided a blank line, changed whitespace.
(→{{header|REXX}}: changed the program to use a simple string (instead of an indexed array) for the cartridge chamber.) |
m (→{{header|REXX}}: elided a blank line, changed whitespace.) |
||
Line 818:
#= words(scenarios) /*the number of actions in a scenario. */
do m=1 for #;
sum = 0
do t=1 for tests; sum= sum + method(q)
end /*t*/
say action(q) ' produces ' left( (sum*100/tests)"%", 7) ' deaths.'
end /*m*/
|