Issue with sensor value

Helow guys!!!

Is the a way to divide a sensor's value by say 3, so that each value range peforms a different task?

For instance we all know that pots have a value range of 0 to 1023, and 1023/3=341. That means we now have 3 value ranges viz;
0 to 341, 342 to 682 and 683 to 1023.

So when the pot has values between 0 to 341, a led comes on, when the values are between 342 to 682, the led blinks slowly and when the values are between 683 to 1023, the led blinks quickly

(deleted)

switch ( analogRead(A0) )
{
    case 0 * (1024 / 3)...(1 * (1024 / 3)) - 1:
        break;

    case 1 * (1024 / 3)...(2 * (1024 / 3)) - 1:
        break;

    case 2 * (1024 / 3)...(3 * (1024 / 3)) - 1:
        break;
}
//only here 1024 instead of the normal map of 1023, last parameter = number of cases
switch( map( analogRead(A0), 0, 1024, 0, 3)){ 
  case 0:
    break;
  case 1:
    break;
  case 2:
    break;
}

Thanks y'all, this was really very helpful....

I appreciate