use algorithmatic.com's in-browser integrated-development-environment here. The IDE offers syntax-highlighting, realtime validation, syntax-autocompletion, autocompletion for external-calls, interpreter and basic debugging.
Account
signin
algorithmatic.com uses OpenID - that means you don't need to register, probably you already have an OpenID, you just need to enable it. Click here to sign in
The Extended Euclidean algorithm is a version of the Euclidean Algorithm; its input are two integers a and b and the algorithm computes their greatest common divisor (GCD) as well as integers x and y such that ax + by = gcd(a,b).
The output of the current implementation is an object with: X, Y, and GCD
See http://en.wikipedia.org/wiki/Extended_Euclidean_algorithm Based on http://www.glasglow.com/e2/ex/Extended_Euclidean_algorithm.html