+ 2

Use any programming language

Starting from 0 to 97, create a program that only outputs a sequence of prime numbers. Then have those numbers there own odd and even list.

13th Oct 2017, 11:33 PM
Z3nn H3xx
Z3nn H3xx - avatar
2 odpowiedzi
+ 5
I skipped the part of separating them into evens and odds as 2 is the only even prime number. Enter whatever number you want to go up to. 97. 1000. whatever. https://code.sololearn.com/cx53E4jy8alU/?ref=app
14th Oct 2017, 12:58 AM
LordHill
LordHill - avatar
14th Oct 2017, 1:35 AM
Ferhat Sevim
Ferhat Sevim - avatar