c++ loop counting ascending 10 times
<p>How can I make a loop starting from a number I give and stop after counting ascending 10 times (not to a specific nr)?</p>

<pre><code>#include &lt;stdio.h&gt;
int main(){
int n,x;
printf("Give nr to start: \n");
scanf("%d", &amp;x);
printf("\n");

    for(n=x;n&lt;=?;n++)
        {
        printf("\t%d\n", n);
        }

return 0;
}
</code></pre>
