How to use switch case for light dependent resistor sensor's value

@PaulS: You're going soft on us:

You can't read from the pin in the 6th position of a 4 element array.

I would have expected something more entertaining, like:

You can read the 6th position of a 4 element array, it's just that it probably won't be anything useful.