what 3 data types can be used with a swtich statement
int, char, String
why can’t double be used with a switch statement
real numbers are continuous and you can’t guarantee an exact match
why shouldn’t you use a boolean in a switch statement?
you should use an if statement instead
demonstrate using multiple case labels
switch (x) {
case 1,2,3