Can anyone tell me how to write a program that breaks down all numbers into their prime factors?????????????????????????? Please help if you know anything that could help. Thanks.
Can anyone tell me how to write a program that breaks down all numbers into their prime factors?????????????????????????? Please help if you know anything that could help. Thanks.
Use modulos. And next time, ask your teacher if you have trouble.
What are you having trouble with? Coming up with an algorithm to perform the prime factorization? Implementing the factorization?