Greatest Common Factor
Find the greatest common factor of two integers.
Example result
Greatest common factor: 12
Step by step
- Use Euclid’s algorithm on the two integers.
- The last nonzero remainder is the greatest common factor.
Find the greatest common factor of two integers.
Greatest common factor: 12