0

:cry:
i'm so confused right now,
can any one help with this?

defining a functoin

bool prime (int n)


which prints 10000 prime numbers

2
Contributors
1
Reply
2
Views
13 Years
Discussion Span
Last Post by jwenting
0

try your favourite search engine.
wikipedia also has an excellent article on prime numbers complete with explanations of the most popular algorithms.
None are particularly difficult to implement and I'm pretty sure your teacher wants you to do your own homework rather than submit something written by someone else.
You're there to learn something after all.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.