Thursday, July 9, 2009

In C ++Is an artihmetic expression, followed by a relational operator , followed by an artihmetic expression?

In C ++ Is an artihmetic expression, followed by a relational operator , followed by an artihmetic expression an example of a Boolean

In C ++Is an artihmetic expression, followed by a relational operator , followed by an artihmetic expression?
Hmmm... i can't quite understand the question, i think what you are trying to do is something like:





a+b != c+d





this type of expression would have sence for me inside an "if" condition and it would be considered as a boolean.. something like





if ( (a+b) != (c+d) ){


%26lt;do something%26gt;


}


else{


%26lt;do something else%26gt;


}


No comments:

Post a Comment