title: What is the difference between a counter and an accumulator?
body: <p>I'm not sure what the difference are, but here are the problems.</p>
  
  <p><strong>Write an assignment statement that updates a counter variable named numStudents by 1.</strong>
  would it be:</p>
  
  <blockquote>
    <p>numStudents = numStudents + 1</p>
  </blockquote>
  
  <p>?
  My other problem is</p>
  
  <p><strong>Write an assignment statement that updates an accumulator variable named total by the value in the sales variable.</strong>
  would it be identical like:</p>
  
  <blockquote>
    <p>total = total + sales</p>
  </blockquote>
  
  <p>?</p>