Writing a number as a multiplication of prime numbers | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Writing a number as a multiplication of prime numbers

So I have this problem for school... and it's simple until you get to the prime factors. How do I divide my number with only primes. Can someone help me with the full code ? C++

28th Mar 2018, 9:32 AM
Oprea Radu
Oprea Radu - avatar
1 Resposta
28th Mar 2018, 10:26 AM
šŸ‡®šŸ‡· M N