title: Round robin in C#
body: <p>I'm having a problem (possibly due to lack of sleep!) where I'm trying to solve a maths problem in C#.</p>
  
  <p>Let's say I have a drinks machine, and I have three empty rows that can be filled with Cola. I have 17 cans of Cola in my hand and I have to fill each row one at a time.</p>
  
  <p>For example...</p>
  
  <p>Pass 1:</p>
  
  <blockquote>
    <p>Add Cola to Row 1. Drinks = 1<br/>
    Add Cola to Row 2. Drinks = 1<br/>
    Add Cola to Row 3. Drinks = 1</p>
  </blockquote>
  
  <p>Pass 2:</p>
  
  <blockquote>
    <p>Add Cola to Row 1. Drinks = 2<br/>
    Add Cola to Row 2. Drinks = 2<br/>
    Add Cola to Row 3. Drinks = 2</p>
  </blockquote>
  
  <p>...</p>
  
  <p>Pass 6</p>
  
  <blockquote>
    <p>Add Cola to Row 1. Drinks = 6<br/>
    Add Cola to Row 2. Drinks = 6<br/>
    Add Cola to Row 3. Drinks = 5 (no more drinks left at this point)</p>
  </blockquote>
  
  <p>For some reason, I'm completely lost. Can anyone help?!</p>