title: Using cin function
body: <p>The following code doesn't give the second prompt to "enter message". How do I fix it?</p>
  
  <pre><code>cout &lt;&lt; "Enter shifts:" &lt;&lt; endl;
  cin &gt;&gt; shifts;
  cout &lt;&lt; "Enter message:" &lt;&lt; endl;
  getline(cin, msg);
  </code></pre>