is solving these kind of problem important in programming
<p>We're learning C++ at school, we got to <code>for</code>, <code>while</code> etc.
We always keep having questions like</p>

<p><strong>Make a program that get the next output and use for in it</strong></p>

<p><code>1 3 5 7 9 11</code></p>

<p>Would it be a problem if one knows all the codes in some language but can't think to solve this kind of problems?</p>
