Fairshare between two and more: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added wording to the REXX section header.)
Line 1,746: Line 1,746:


=={{header|REXX}}==
=={{header|REXX}}==
Programming note:   the   '''base'''   function (as coded herein) handles bases from base ten up to   '''36'''.
<lang rexx>/*REXX program calculates N terms of the fairshare sequence for some group of peoples.*/
<lang rexx>/*REXX program calculates N terms of the fairshare sequence for some group of peoples.*/
parse arg n g /*obtain optional arguments from the CL*/
parse arg n g /*obtain optional arguments from the CL*/