mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-12-26 21:58:56 +01:00
Fixed typo
This commit is contained in:
parent
a3e9ee2ece
commit
a480118b7d
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def extended_euclidean_gcd(a, b)
|
|||
end
|
||||
|
||||
puts "GCD(3, 5) = " + extended_euclidean_gcd(3, 5).to_s
|
||||
# GCD(3, 6) = 3
|
||||
# GCD(3, 5) = 1
|
||||
puts "GCD(3, 6) = " + extended_euclidean_gcd(3, 6).to_s
|
||||
# GCD(3, 6) = 3
|
||||
puts "GCD(6, 3) = " + extended_euclidean_gcd(6, 3).to_s
|
||||
|
|
Loading…
Reference in a new issue