T
theBestFriend
If I type in the vualue && from the standard input and store it into
myInputString variable, I expected that expression if(myInputString ==
"&&") will evaluate to true, but it doesn't.
Can you please explain why and what do I need to change to make it
evaluate to true. I want to treat && as character string, not as a
special characters but don't know how.
When I type in >= or <=, both expressions
if(myInputString == ">=") and if(myInputString == "<=") evaluate to
true.
Thank you for you help and your time.
myInputString variable, I expected that expression if(myInputString ==
"&&") will evaluate to true, but it doesn't.
Can you please explain why and what do I need to change to make it
evaluate to true. I want to treat && as character string, not as a
special characters but don't know how.
When I type in >= or <=, both expressions
if(myInputString == ">=") and if(myInputString == "<=") evaluate to
true.
Thank you for you help and your time.