Anonymous user
Perfect numbers: Difference between revisions
m
→Classic REXX version of PL/I: changed a comment.
m (→Classic REXX version of ooRexx: changed a comment.) |
m (→Classic REXX version of PL/I: changed a comment.) |
||
Line 1,691:
===Classic REXX version of PL/I===
This version is a Classic REXX version of the PL/I program as of 14-Sep-2013, a REXX '''say''' statement was added to display the perfect numbers. Also, an epilog was written for the re-written function.
<lang rexx>/*REXX version of the PL/I program (code was modified
parse arg low high . /*obtain the specified number(s).*/
if high=='' & low=='' then high=34000000 /*if no args, use a range.*/
|