I just started programming again and am starting over with C++. Now I just did an example I found and it is an if/else statement. At the end of the whole program right before the "return 0;" statement, I put the "system ("Pause");" statement. When I ran the example I was able to get to the prompt right before the if/else statement, but when I assigned the variable required for the program to return info to me, it just quit. I know the the "system ("Pause");" is supposed to keep the program open, but am I supposed to put this before I start my actual code or right under the "int main();" function?