580 likes | 786 Views
Hello World" in Ruby. puts "Hello World!". Euclid's algorithm. def euclid x, y while x != y if x > y then x -= y end if y > x then y -= x end end x end puts "Enter two numbers: " STDOUT.flush x = Integer(gets) y = Integer(gets) puts "The GCD of
E N D