PUZZLE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

PUZZLE

guys post any coding puzzle here...

24th Feb 2017, 6:41 AM
Sri Vishnu
Sri Vishnu - avatar
1 Answer
+ 1
A program to print all the prime numbers between 1 and the user's input number. For example 1 to 20, it should output 1, 2, 3, 5, 7, 11, 13, 17, and 19
25th Feb 2017, 4:32 AM
Zeke Williams
Zeke Williams - avatar