This commit is contained in:
onyx-and-iris 2023-12-08 21:20:21 +00:00
parent 457358e77b
commit af4701dab7

View File

@ -14,7 +14,7 @@ func GCF(a, b int) int {
return a
}
// LCM returns least common multiple of a set a numbers
// LCM returns least common multiple of a set of numbers
func LCM(a, b int, integers ...int) int {
result := a * b / GCF(a, b)