Write an anonymous block that places a substitution variable (&) into a local variable of type character. You should check the value entered in the local variable and output different messages depending on the value provided.
If value is ‘A’, output: ‘Please proceed to Level 1’
If value is ‘B’ or ‘C’, output: ‘Please proceed to Level 2’
If value is ‘D’, output: ‘Please proceed to Level 3’
In all other entries, output: ‘Invalid Entry’
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)