Arrays are not supported by Switch. It takes a single argument and Cases should be defined according to it.
Ex:
int num=3;
switch(num) //in case of integer type
Case 1:
Case 2:
...
}
char ch='a';
switch(ch) //in case of character type
{
Case 'a':
Case 'b':
Case '/':
...
}