i1 is not initialised.so switch statement won't be able to know what the condition is.the whole program would be meaningless.
Separate names with a comma.