title: Code is just stuck on inputting a bunch of numbers
body: <p>Whenever the program runs, and I input the two numbers(m and n), nothing happens and I'm able to keep on entering numbers.</p>
  <pre><code>int main()
  {
      vector&lt;int&gt; vec;
  
      int m, n;
  
      cin &gt;&gt; m;
      cin &gt;&gt; n;
  
      for (int i = m; i &lt;= n; i++)
      {
          int sumofnum;
          int num = i;
          while (num)
          {
              sumofnum += pow(num % 10, 3);
              num / 10;
          }
  
          if (sumofnum == i)
          {
              vec.push_back(i);
          }
      }
  
      for (int i = 0; i &lt; vec.size(); i++)
      {
          cout &lt;&lt; vec.at(i) &lt;&lt; &quot; &quot;;
      }
  </code></pre>