In addition, the comparison operators can be used with strings. Because strings are not numerals, how string operators work requires a little explanation. Checking for equality between two strings is fairly straightforward. For two strings to pass an equality test, they have to be exactly the same, character for character. The exception to the above rule that strings cannot be compared with greater than and less than is if the strings represent possible numerals.
Concatenation is the process of combining multiple strings to yield one new, bigger string.
You may want to construct a message for the user, tailored to be appropriate for varying conditions. In a sense, by now, you're already familiar with what an expression is, even though I haven't explicitly defined it yet. I wanted to keep some suspense in this tale, after all. An expression, in programming circles, is any phrase of program code that represents one evaluation, result, or assignment. Every little segment covered in examples thus far is an expression.