ggt euklidischer algorithmus java code example
Example: ggt euklidischer algorithmus java
int ggt(int a, int b)
{
int r;
while (b!=0)
{
r=a%b;
a=b;
b=r;
}
return a;
}
int ggt(int a, int b)
{
int r;
while (b!=0)
{
r=a%b;
a=b;
b=r;
}
return a;
}