While n ≠ 0 do r ← m mod n m ← n // assign n to m n ← r return m
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)