program

please give me a hint how to find first 100 prime numbers......
using c program
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.