title: How to calculate the number of operations that occur during the execution of a for loop?
body: <p>I had an exam a couple of days ago and today the Instructor gave us the key answer of the exam.</p>
  
  <p>One of the questions was</p>
  
  <blockquote>
  <pre><code>for ( j = 9; j &gt;= 1; j-- )
  </code></pre>
    
    <p>Count the Number of operations</p>
  </blockquote>
  
  <p>The result was 20.</p>
  
  <p>Can anyone explain how he gets 20 operations from that?</p>