Writing a number as a multiplication of prime numbers | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
28th Mar 2018, 10:26 AM
🇮🇷 M N