title: Replace while loop with a for loop
body: <p>The question asks: Rewrite the character value example from the previous Try this to use a for-statement.</p>
  
  <p>With that being said, what I wrote for the previous question was the following which runs fine as well:</p>
  
  <pre><code>#include "pch.h"
  #include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;vector&gt;
  #include &lt;algorithm&gt;
  #include "cmath"
  
  using namespace std;
  
  int main()
  {
      char letter = 'a';
      int i = 97;
  
      while (i &lt; 123) {
          cout &lt;&lt; letter &lt;&lt; '\t' &lt;&lt; i &lt;&lt; '\n';
          i = i + 1;
          letter = letter + 1;
  
        }
  }
  </code></pre>
  
  <p><strong>EDIT:</strong> After thinking about it overnight I made some changes:</p>
  
  <pre><code>int main()
  {
      char letter = 'a';
  
      for (int i = 97; i &lt; 123; i = i + 1)
          cout &lt;&lt; letter &lt;&lt; '\t' &lt;&lt; i &lt;&lt; '\n';
          letter = letter + 1;
  }
  </code></pre>
  
  <p>So this is still wrong, but I have gotten closer. I am having difficulty having the control variable on my <strong>char</strong> type count and line up with the <strong>int</strong> variable counter.  What is it that I am doing wrong?</p>