Prime Number Code C
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
In C, I need to code the next 10 prime numbers of n entered from the keyboard with an array. How do I do it?
-
In C, I need to code the next 10 prime numbers of n entered from the keyboard with an array. How do I do it?
iHuy wrote:
How do I do it?
Can you do it on paper? If not, then trying to code such an algorithm is not going to work (unless someone just outright gives you the code).
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles