0

user need to enter N from 0 to 100 and the output is display first N prime number.

example of input : 5 example output : 2 3 5 7 11

17th Oct 2018, 2:18 PM
Logan Sathiveloo
Logan Sathiveloo - avatar
1 Antwort
+ 2
Maybe do your own homework? Also code playground has lots of codes about prime numbers that could help you out.
17th Oct 2018, 2:55 PM
qwerty
qwerty - avatar