[Solved] function not stopping [closed]
Your problem comes from a bad use of switch See Switch/Case documentation. Your menu switch/case will triggered every cases switch(1) { case 1 : cout << ‘1’; // prints “1”, case 2 : cout << ‘2’; // then prints “2”…