title: Progressively slow down loop?
body: <p>I've been trying to figure out a way that I can cpp progressively slow down loop for a dice program I want to write. Getting a random number and displaying/comparing it is not difficult. My issue is trying to figure out how I could display random numbers as if the dice was rolling where it progressively gets slower and slower until I want to display the rand number that was generated.</p>
  
  <p>I've thought about doing a for-loop inside another for-loop and using the first loops number to subtract from the second. I don't know if there is a better way or not. All seraching comes up with seraches on how a program is going slower because they weren't allocating memory.</p>
  
  <pre><code>for (int i = 5; i &gt; 0; i--)
  {
      for (int j = 1000; j &gt; 0; j -= i)
      {
          cout &lt;&lt; randNumGen();
      }
  }
  </code></pre>