Comparison of 3 variables @ a time
Can v compare 3 variables @ d same time without using logical operators ?
Like...,
if(a==b==c)
{
cout<<"equal";
}
nope, that would be equivalent to
( a == b ) == c
will return
true
or
false
The second == will evaluate that with c
Please use proper English
Topic archived. No new replies allowed.