c++ while loop repeats
<p>I have the following code. When something like <code>jackpot</code> is inputted, it prints out the cout 8 times, once for each character. Why is it doing this? Information is a structure and number is an integer. </p>

<pre><code>do {
        cout &lt;&lt;"Please input a valid number."&lt;&lt; endl;
        cin&gt;&gt;information.number;
        if (!cin)
          {
             cin.clear();
             cin.ignore();
          }
    }
while(information.number&gt; 12 || information.number&lt; 1);
</code></pre>
