--- In [email protected], Rani Jain <jain.r...@...> wrote: > > int biggest(int a, int b) { > int result; > (a<b)?(result=b):(result=a); > return result; > }
which can be simplified to:
int biggest(int a, int b) {
return (b > a) ? b : a;
}
but it uses the ternary operator, which the OP said was not allowed.
