Greatest common factor | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Greatest common factor

How would I find the greatest common factor of two integers?

11th Oct 2019, 4:31 PM
Advanced Incognizant
1 Resposta
+ 5
Wikipedia is always a good idea if you are looking for algorithms. In this case I would recommend using the Euclidean algorithm.
11th Oct 2019, 4:43 PM
Thoq!
Thoq! - avatar