Your have a mismatch of { and }. Indent your code using tools -> autoformat in the IDE and you will see
void startShow(int i)
switch (i)
The first line above should start at the beginning of a line. If it doesn't, your missing a } that closes the previous function (loop(). Your startShow(int i) should also be followed by a {.
You also seem to be missing a } at the end of the code.
Note:
I see that PaulRB also commented on startShow(int i) while I was editing the post to add that.