GCD

can anyone help me and send me the algorithm or pseudo code for a program that calculates Greatest common divisor of two numbers.i'm a beginner and can't think of any algo. no classes. would be highly grateful.
Have you asked Wikipedia?
Topic archived. No new replies allowed.