Writing a number as a multiplication of prime numbers | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
28th Mar 2018, 10:26 AM
🇮🇷 M N