Problem 1
Describe the difference between the if / else if statement and a series of if statements.
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 4
Can an if statement test expressions other than relational expressions? Explain.
Problem 7
Why are the relational operators called relational?
Problem 9
An expression using the greater-than, less-than, greater-than-or-cqual to, less-than-or- equal-to, equal, or not-equal to operator is called a(n) _______ expression.
Problem 13
The if statement regards an expression with a nonzero value as _______.
Problem 15
In an if/else statement, the if part executes its statement or block if the expression is _______, and the else part executes its statement or block if the expression is _______.
Problem 17
The if / else if statement is actually a form of the _______ If statement.
Problem 36
Write an if statement that prints the message "The number is valid" if the variable grade is within the range 0 through 100.