Problem 2
In an if / else if statement, what is the purpose of a trailing else?
Problem 3
What is a flag and how does it work?
Problem 6
Briefly describe how the || operator works.
Problem 11
The value of a relational expression is 0 if the expression is _______ or 1 if the expression is ______
Problem 14
For an if statement to conditionally execute a group of statements, the statements must be enclosed in a set of _____
Problem 21
The logical operators have _____ associativity.
Problem 22
The __________ logical operator works best when testing a number to determine if it is within a range.
Problem 26
An expression using the conditional operator is called a(n) ___________ expression.
Problem 27
The expression that follows the switch statement must have a(n) ________ value.
Problem 33
Using the following chart, write an if /else if statement that assigns \(.10, .15,\) or .20 to commission, depending on the value in sales. $$\begin{array}{ll} \hline \text { Sales } & \text { Commission Rate } \\ \hline \text { Up to } \$ 10,000 & 10 \% \\ \$ 10,000 \text { to } \$ 15,000 & 15 \% \\ \text { Over } \$ 15,000 & 20 \% \\ \hline \end{array}$$