title: Replace printed char of an array
body: <p>I would like to print the following array, then replace the I's with * from left to right with a one second pause between each print.</p>
  <pre><code>main()
  {
    char arr1[6] = {'T', 'T', 'I', 'T', 'T', 'T'};
    char arr2[6] = {'T', 'T', 'I', 'I','I','T'};
    char arr3[6] = {'T', 'T', 'T', 'T','I','T'};
    char loop;
    char loop2;
    char loop3;
    for(loop = 0; loop &lt; 6; loop++)
       printf(&quot;%c&quot;, arr1[loop]);
       printf(&quot;\n&quot;);
  
      
     
    for(loop2 = 0; loop2 &lt; 6; loop2++)
       printf(&quot;%c&quot;, arr2[loop2]);
       printf(&quot;\n&quot;);
       
  
  
    for(loop3 = 0; loop3 &lt; 6; loop3++)
       printf(&quot;%c&quot;, arr3[loop3]);
       printf(&quot;\n&quot;);
  
  return 0;
  }
  
  </code></pre>
  <p>Current Output:</p>
  <pre><code>    TTITTT
      TTIIIT
      TTTTIT
  </code></pre>
  <p>I want the I's to be replace with * with a one second pause between the following print statements.</p>
  <p>Desired 1:</p>
  <pre><code>    TT*TTT
      TTIIIT
      TTTTIT
  </code></pre>
  <p>(one second delay)...
  Desired 2:</p>
  <pre><code>    TT*TTT
      TT*IIT
      TTTTIT
  </code></pre>
  <p>(one second delay)
  Desired 3:</p>
  <pre><code>    TT*TTT
      TT**IT
      TTTTIT
  </code></pre>
  <p>etc....</p>
  <p>Therefore, I would like the final output to be:</p>
  <pre><code>    TT*TTT
      TT***T
      TTTT*T
  </code></pre>