int sv = Serial.read();What type of variable does Serial.read() return ?
To see what value you are actually getting, if any, try printing sv after you have read it. Does it match any of the values that you are testing for in switch/case ?
Enter a correct value
-1
Enter a correct value
-1
Enter a correct value
-1
Enter a correct value
-1
Enter a correct value
-1
Enter a correct value
-1
Enter a correct value
Code:
49
Enter a correct value
10
Enter a correct value
You are seeing the ASCII value of the digit 1 followed by the ASCII value of a linefeed which is presumably how you have the serial monitor line ending set.
Now that you know what you are getting from serial you can change your switch/case to suit or subtract 48 from the incoming byte value after reading it and leave the switch/case alone.