Computing Prime Numbers
From CompSciWiki
Revision as of 12:16, 1 April 2010 by ChristopherJ (Talk | contribs)
Back to the Program-A-Day homepage
ProblemIt is often useful to compute prime numbers (e.g. Encryption). Compute prime numbers up to 20 by use of nested loops. |
SideSectionTitle
An image or By Students section | |
---|---|---|
SolutionTo solve this problem you need to think of solving for each individual number; one at a time. | ||
CodeSolutionCode goes here. Please DO NOT put your code in <pre> tags! |