umm, i need help with this, i have no idea how to make it return the greatest common divisor, this code works without returning anything, but i need to make the code to RETURN it......i gotten everything down, just donno how to return the answer....
int GCD( int a,int b, int r);
printf("Please enter two integers separated by a space: ");
printf("\nYou entered: %d %d ",a,b);
r = a % b;
a = b;
b = r;
int GCD(int a,int b, int r)