2/8/00
COM1100 Winter2000 Yuhong Yin
9
What each of these words does?
nswitch
nidentifies the start of the switch statement.
nThe expression in parentheses following this word is evaluated and the result of the expression is compared to various alternative values contained with the compound statement.
nThe expression in the switch statement must be evaluated to an integer.
nOtherwise, you may get a compiling error message.
n