biggest of two nos without using relational operator
- by ratty
i like to find the greatest of two nos without using < this relational operator.
i tired this
int a,b;
if(a/b==0)
{
b is greater
}
else
{
a is greater
}
but this not working for negative nos .please help for this