Source Code:** https://github.com/bulentsiyah/GCF-and-LCM-Calculator-Swift-Application**

Swift 3.0.1

Xcode Version 8.1

**The greatest common factor**

The greatest common factor, or GCF, is the greatest factor that divides two numbers. To find the GCF of two numbers:

List the prime factors of each number. Multiply those factors both numbers have in common. If there are no common prime factors, the GCF is 1.

**The Least Common Multiple**

A common multiple is a number that is a multiple of two or more numbers. The common multiples of 3 and 4 are 0, 12, 24, ….

The least common multiple (LCM) of two numbers is the smallest number (not zero) that is a multiple of both.

Okumaya devam et “Swift Application Example For Beginners: GCF and LCM Calculator | IOS”