program

Jun 26, 2013 at 11:15am
please give me a hint how to find first 100 prime numbers......
using c program
Jun 26, 2013 at 11:23am
It is enough to get the first prime number. And then to check any next odd number whether it is divisible by already found prime numbers. There are many threads with the theme about prime numbers in the forum.

P.S. A hint: 2 is a prime number.:)
Topic archived. No new replies allowed.