How to generate prime number from 1 - 1000 using c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to generate prime number from 1 - 1000 using c++

Prime number 1 - 1000

7th Apr 2020, 7:41 PM
Emmanuel Blessing
Emmanuel Blessing - avatar
1 Answer
0
a prime number is a number which is only divisible by 1 and itself 2 is the only even prime number the above two points is clear enough to code. show us your attempt and then we can help you.
7th Apr 2020, 7:47 PM
Rohit