How is this for-loop working?
<p>I am new to programming and whenever I have used a for loop it has consisted of the following</p>

<pre><code> 1. Initialize
 2. Condition 
 3. Body 
 4. Update 
 5. Go to 2
 6. Quit.
</code></pre>

<p>However  in the for loop before what is <code>cin&gt;&gt;number</code> doing in place of the update?</p>

<pre><code>int number = 0;
cout&lt;&lt;"please enter a number that is greater than 15"&lt;&lt;endl;
for (cin&gt;&gt;number; number &lt;= 15; cin&gt;&gt;number)
{
    cout&lt;&lt;" Please enter a number that is greater than 15"&lt;&lt;endl;
}
</code></pre>
