June 2017
Beginner
1296 pages
69h 23m
English
5.1
for, while.
after.
switch.
continue.
&& (conditional AND).
false.
static.
5.2
False. The default case is optional. If no default action is needed, then there’s no need for a default case.
False. The break statement is used to exit the switch statement. The break statement is not required for the last case in a switch statement.
False. Both of the relational expressions must be true for the entire expression to be true when using the && operator.
True.
True.
False. The switch statement does not provide a mechanism for testing ranges of values, so every value that must be tested should be listed in a separate case label.
True.
5.3 Answers:
1 sum = 0;
2 for (count = 1; count <= 99; count ...Read now
Unlock full access