C++ · Decisions

switch and break

A menu that picks one action per key is a switch, and one missing break makes it run the actions below as well.