user need to enter N from 0 to 100 and the output is display first N prime number. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 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