Display analog range status on LCD

Hello
Take some time and study the application of the switch/case instruction in detail. This will help.