Dice game probabilities: Difference between revisions
Content added Content deleted
m (→Simulated:) |
m (→optimized: changed wording in the REXX section header.) |
||
Line 1,708: | Line 1,708: | ||
===optimized=== |
===optimized=== |
||
This REXX version is an optimized and reduced version of the first part of the |
This REXX version is an optimized and reduced version of the first part of the 1<sup>st</sup> REXX example. |
||
<lang rexx>/*REXX pgm computes and displays the probabilities of a two─player S─sided, N─dice game.*/ |
<lang rexx>/*REXX pgm computes and displays the probabilities of a two─player S─sided, N─dice game.*/ |
||
numeric digits 100 /*increase│decrease for heart's desire.*/ |
numeric digits 100 /*increase│decrease for heart's desire.*/ |