: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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.