The relational expression ==
We haven't covered relational and logical expressions in detail yet. That is the topic for a future lesson.
For now, just accept the fact that the following expression will return true if A is equal to B, and will return false otherwise:
A == B
If the input is even, the code in the selection structure in Listing 4 displays a message indicating that the input was even.
If the input is odd, the code in the selection structure displays a message indicating that the input was odd.
The code in Listing 4 produces the fourth line of output shown under program output earlier.