How can I find the greatest common divisor of two numbers using a for loop? : <p>I'm a beginner in java and I can't figure out how to find the GCD.  I also need to use a for loop and the variables, int one and int two, as the numbers. I'm really lost, any help will be appreciated. This is the method format that I was given.</p>

<pre><code>public long getGCD( )
{
    long gcd=0;

    return 1;
}
</code></pre>
