expected primary-expression before '<' token error
<p>Hi I am going back through C programming exercises and in this particular program I get an expected primary-expression before '&lt;' token at Line 8 (The While loop). Would appreciate some clarification on what I would need to fix and the reasoning behind it. Here is the code and thank you so much!</p>

<pre><code>#include &lt;stdio.h&gt;
#include &lt;iostream&gt;
using namespace std;

int main(){
   int number, i=8;
   cout &lt;&lt;"Please enter all numbers from 8-23\n";
   cout &lt;&lt;"Start Now: ";
   while (i=&lt;23){
          cin&gt;&gt;number;
          cout&lt;&lt;"Next: ";
          if (number!=i){
             cout&lt;&lt;"That was the wrong, Please enter: "&lt;&lt;i&lt;&lt;endl;
          }
         else 
           i++;
    }
    cout&lt;&lt;"Congratulations!!\n";
return 0;
}
</code></pre>
