public static int GCD(int a, int b, int x, int y)
{
if (a == 0)
{
x = 0;
y = 1;
return b;
}
int x1 = 1, y1 = 1; // storing results of recursive call
int gcd = GCD(b%a, a, x1, y1);
x = y1 - (b/a) * x1; // Update values using results of recursive
y =x1;*
return gcd;
}
What does computing x and y in x = y1 - 9b/a) * x1;
y = x1;