Loops/Increment loop index within loop body: Difference between revisions
Loops/Increment loop index within loop body (view source)
Revision as of 14:13, 25 September 2021
, 2 years ago→{{header|R}}: Shortened link
ReeceGoding (talk | contribs) m (→{{header|R}}: Shortened link) |
|||
Line 3,842:
42 -> 99,504,028,301,131</pre>
=={{header|R}}==
R cannot complete this task with a for loop. See https://stackoverflow.com/a/5913329/
<lang R>i<-42
primeCount<-0
Line 3,899:
Prime count: 41; The prime just found was: 49,752,014,150,467
Prime count: 42; The prime just found was: 99,504,028,301,131</pre>
=={{header|Racket}}==
|