• Really a nice question..

    I have got the confusion that, we need to declare the variable name followed by case statement and after that the value followed by when.

    Thanks..