title: For Loop Algorithm ( number of operations )?
body: <p>Please can someone help me in how to count number of operations for (for nested loop) like this one:</p>
  
  <pre><code>for(int c=0; c&lt;10; c++){
      for(int j=0; j&lt;n; j++)
         for(int r=0; r&lt;n; r++)
             cout&lt;&lt;j;
        cout&lt;&lt;endl;
        }
  </code></pre>