Print all the pairs of prime numbers which is equal to the sum of the given no. entered by user.
Ashishinani1756
-7
Newbie Poster
Recommended Answers
Jump to PostFirst you have to learn how to generate the list of prime numbers. There are lots of examples here, just search for them. Use the "Site Search" button located in the upper-right corner of the DaniWeb yelllow (gold?) band.
All 4 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ashishinani1756
-7
Newbie Poster
donaldw
33
Posting Whiz in Training
donaldw
33
Posting Whiz in Training
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.