Practice ยท 1 of 1
Command Router
Implement handle(command) returning: 'h' -> 1 (help), 'q' -> 2 (quit), anything else -> 0 (unknown). Use a switch.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Switch Practice: Menu Logic