title: C++ error with just Visual studio
body: <pre><code>#include &lt;iostream&gt;   
  using namespace std;
  int main()
  {
      int Pass;
      cout &lt;&lt; "Enter Pass Please";
      cin &gt;&gt; Pass;
      switch (Pass)
      {
      case 1996:
      {
          cout &lt;&lt; "O" &lt;&lt; endl;
      }
      break;
      case 2015:
      {
          cout &lt;&lt; "N\n";
      }
      break;
      default:
          cout &lt;&lt; "Z" &lt;&lt; endl;
          break;
          system("PAUSE");
      }
  }
  </code></pre>
  
  <p>Whats wrong with this code when i run it on visual studio consle app just disappear after writing value of pass like its no system pause </p>