Perfect numbers: Difference between revisions

Content deleted Content added
m →‎Classic REXX version of PL/I: removed timing statements.
Line 1,415:
if low=='' then low=1 /*if no LOW, then assume unity.*/
if high=='' then high=low /*if no HIGH, then assume LOW. */
call time 'R'
 
do i=low to high /*process the single # or range. */
if perfect(i) then say i 'is a perfect number.'
end /*i*/
say 'and took' format(time('E'),,2) "seconds."
exit