Edit a program and see the result as you type. Execution stays in your browser.
Apply Euclid’s remainder algorithm until the second operand reaches zero.