Practice · 1 of 2
Menu Dispatch
CHALLENGE
Difficulty: beginner+25 XP
Implement const char* menu_action(int choice) using switch: 1 -> "deposit", 2 -> "withdraw", 3 -> "balance", any other value -> "unknown".
Press Submit to check your solution.
Back to lesson: Practice: Menu Machine