Check if sum of first n primes is prime: Difference between revisions
Check if sum of first n primes is prime (view source)
Revision as of 06:59, 23 July 2021
, 2 years ago→{{header|Ring}}
No edit summary |
|||
Line 9:
load "stdlib.ring"
see "working..." + nl
see "Sum of first n primes is prime:" + nl
primSum = 0
|