Quote (carteblanche @ Jan 11 2015 05:08pm)
it's clearly not part of the loop, so the solution is to add it to the loop. which is what minko did. you are free to move it to the front of the loop if you want, but you'll need to adjust it slightly.
I had explained myself wrong. I have tried re-explaining it in a better way below.
Quote (Minkomonster @ Jan 11 2015 05:17pm)
uh.....ok, whatever that means. Look, you really need to work on your communication. Because, I am going to show you how to do exactly what you just said to me, and I guarentee it is not what you want.
This is how you make that code execute again...
Enjoy your stack overflow.
I am sorry for the miscommunication. I didn't mean that I wanted it to restart the loop. I meant that I wanted it to restart the entire code in a way that it begins asking for the name of the division again.
Adding the piece of code in the place that you specified in your first reply ended up in a result of
Code
Please enter Division's name, when you are done type stop to exit: Please enter the number of employees in the division: