How do you prime factorize numbers in a c++ program?
im really just a beginner so it would really help if you gave examples...
oh yeah... i need it real quick... it's due soon... :D
(must be definite set of numbers like 1-25 or something like that)
really dunno how to do it....
post example please... i also need to do it in loops right?
i have little knowledge of these loops.. im total noob...
There are many algorithms available for finding prime factors or determining primality. You can
search Wikipedia (look up prime numbers) or you can peruse these forums as there are many
examples of this exact homework.