cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
program
program
Jun 26, 2013 at 11:15am
Jun 26, 2013 at 11:15am UTC
ratrangana
(8)
please give me a hint how to find first 100 prime numbers......
using c program
Jun 26, 2013 at 11:23am
Jun 26, 2013 at 11:23am UTC
vlad from moscow
(6539)
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.