RosettaCodeData/Task/Collections/REXX/collections-3.rexx
2023-07-01 13:44:08 -04:00

6 lines
331 B
Rexx

do j=1 while pr.j\==''
say 'prime' j "is" pr.j
end /*j*/
/*at this point, J=16 (because of the DO */
/*loop incrementing the index. */
j= j-1 /*J now has the count of primes stored. */