Anonymous user
Probabilistic choice: Difference between revisions
m
→{{header|REXX}}: added a note to the REXX section header about head and foot titles.
m (→{{header|REXX}}: changed a comment, added whitespace.) |
m (→{{header|REXX}}: added a note to the REXX section header about head and foot titles.) |
||
Line 2,693:
=={{header|REXX}}==
Note: REXX can generate random numbers up to a range of 100,000.
A little extra REXX code was added to provide head and foot titles along with the totals.
<lang rexx>/*REXX program displays results of probabilistic choices, gen random #s per probability.*/
parse arg trials digs seed . /*obtain the optional arguments from CL*/
|