SyntaxFix
Write A Post
Hire A Developer
Questions
You can use an enumerated value just like an integer:
myChoice c; ... switch( c ) { case EASY: DoStuff(); break; case MEDIUM: ... }