Click here to Skip to main content
15,077,641 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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’

1 solution

We don't do your homework !
This place is not

If you have problems with your assignment, tell your teacher.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900