rem Programming Contest Problem rem find the gcd of two numbers rem Solution 1: brute force Input "First number: " a Input "Second number: " b c = a 20 if mod(a,c) = 0 and mod(b,c) = 0 then print "GCD: ", c goto 50 else c = c - 1 endif goto 20 50 end