answersLogoWhite

0

You might use the array to store the results, since a number may be made up of several prime factors. As soon as you find a prime factor, save the result to the array, and continue looking for additional factors. If you want all factors, not just prime factors, the principle is the same; you can store the results of your calculations to an array.

User Avatar

Wiki User

11y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
BeauBeau
You're doing better than you think!
Chat with Beau
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra

Add your answer:

Earn +20 pts
Q: How do you use Arrays to find factors of numbers?
Write your answer...
Submit
Still have questions?
magnify glass
imp