Challenge: write a code in any preferred language to calculate the first twenty prime numbers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Challenge: write a code in any preferred language to calculate the first twenty prime numbers

Also write a code to calculate the prime numbers between 1 and 20... write these two codes separately and paste with good comments to expatiate . use any language but would prefer c++ or javascript

7th Jan 2018, 2:46 PM
Sammy
Sammy - avatar
10 Answers
+ 16
Challenge: prime number series_JS https://code.sololearn.com/WqD5gmTxY4aj/?ref=app
10th Jan 2018, 6:33 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 15
https://code.sololearn.com/c51J5wGbwS79/?ref=app
9th Jan 2018, 3:29 PM
Danijel Ivanović
Danijel Ivanović - avatar
10th Jan 2018, 5:03 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 14
https://code.sololearn.com/cLEax0HwxbvM/?ref=app
9th Jan 2018, 4:07 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 10
check this java version i think you like!! first N prime number!! https://code.sololearn.com/c8KCZTNWXzC8/?ref=app
15th Feb 2018, 6:47 PM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 7
https://code.sololearn.com/cwNXlL5D9qhP/?ref=app
10th Jan 2018, 7:17 PM
John M
John M - avatar
7th Jan 2018, 6:56 PM
The Coding Sloth
The Coding Sloth - avatar
+ 4
https://code.sololearn.com/cnw4lXQ0P3d0/?ref=app https://code.sololearn.com/crs1n7uwOjts/?ref=app
8th Jan 2018, 12:53 PM
...
0
Cool
26th Mar 2019, 4:07 AM
Momoh Aloaye Michael
Momoh Aloaye Michael - avatar