Quote (Minkomonster @ Mar 7 2014 03:23pm)
He's suggesting the use of a switch statement to handle general menu selections. At it's core, it's not a bad design (setting aside the fact that it breaks OOP design), and with tweaks it could be applied to the OPs implementation to handle user input. But for what reason? It's a single user input statement that checks for a single value to continue looping. It's a prime example where s while loop is satisfactory. Implementing the switch statement just adds useless fluff.
I thought he was trying to handle all divisor inputs via a switch statement, which is just ridiculous lol. Reasoning for that was OP only had one user input for menu options, so why use an integer based menu?
Guess I over looked it.