Home
Explore
Places
win7
win8
Coding
Friday, 8 February 2013
9
What is the following function doing?
int foo(int a, int b)
{
int c = a, d = b;
while(a != b)
{
if(a < b)
a = a+c;
else
b = b+d;
}
return a;
}
9
2013-02-08T06:31:00-08:00
cvs
prgm|