Quote:
Originally Posted by WingedPanther
You're right that your statement is incorrect, since the first > evaluates to 0 or 1, which probably isn't greater than word2.length().
Try:
else if (word1.length() > word3.length() && word3.length() > word2.length())
|
Thank you that worked perfectly. I appreciate the help.