: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
: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
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.