For what? It dosn't look like a case statement is sutiable here.
The thing is that if you do an analogue measurement you are not going to get a precise repeatable result.A case statement will only work with integers and not with ranges. What you need to do is to have a look up table (an array) with a range of values in it. Then search through the array until you find the entry that fits your value. Then use that array entry number in the case statement.However, if you only have a few values then use a sequence of if statements with two values, greater than and less than like you had but with a much greater range. Do some measurements and print them out to get an idea of the real values, then set the range limits between the readings you get.