Anonymous user
Piprimes: Difference between revisions
m
→{{header|REXX}}: added comments for the program title (header comment).
m (→{{header|REXX}}: added the computer programming language REXX.) |
m (→{{header|REXX}}: added comments for the program title (header comment).) |
||
Line 6:
<br><br>
=={{header|REXX}}==
<lang rexx>/*REXX program finds and displays pi(n) for 0 <
/*────────────────────────── where the pi function returns the number of primes ≤ N.*/
parse arg hi cols . /*obtain optional argument from the CL.*/
if hi=='' | hi=="," then hi= 22 /* " " " " " " */
|