Two bullet roulette: Difference between revisions

→‎{{header|REXX}}: indicated which option has the highest probability for a suicide (as per the task's requirement).
m (→‎{{header|REXX}}: elided a blank line, changed whitespace.)
(→‎{{header|REXX}}: indicated which option has the highest probability for a suicide (as per the task's requirement).)
Line 843:
if act=='F' then $= $", fire"
end /*j*/; return right( strip( strip($, , ",") ), 50)</lang>
{{out|output|text=&nbsp; when using the default inputs, &nbsp; showing that 2<sup>nd</sup> option &nbsp; '''B''' &nbsp; has the highest probability for a suicide:}}
<pre>
load, spin, load, spin, fire, spin, fire produces 55.44% deaths.