Remember if you have a scanf in a loop condition, you need to have a getchar inside and outside the loop. Here's the runtime after the modification's:
Thanks for that tip. I did not know that was a rule.
I will play with that when I get home again tonight. I have them inside, but did not know they needed to be outside as well.
I am guessing just a simple
getchar();
for the outside is what you are referring to, to balance what I already have inside.