a program that displays the first n prime numbers.

Recommended Answers

All 2 Replies

Read This

@tobine . At least try to do that, and after that ask doubts.

hi tobine
i give a suggestion for your program
first try to find a number is prime or not
later i will give you another idea to generate first n prime numbers

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.