study guides for every class
that actually explain what's on your next test
PrintPrimeNumbers
from class:
AP Computer Science A
Definition
The "printPrimeNumbers" is the name of the method defined in this case. It takes an integer input `n` and prints all prime numbers up to `n`.
"PrintPrimeNumbers" also found in:
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.