SLIDE 4 Control Structures I (Selection) Flashcards
1
Q
allows you to make
comparisons in a program.
A
relational operator
2
Q
Relational Operators
A
== equal to
!= not equal to
< less than
<= less than or equal to
> greater than
>= greater than or equal to
3
Q
In C++, the symbol ==, which consists of two equal signs, is called the
A
equality operator.
4
Q
the symbol = is called the
A
assignment operator
5
Q
For char values, whether an expression using relational operators evaluates to true or false
depends on a machine’s
A
collating sequence.