title: Why I am not able to print space character?
body: <p>This is my code:</p>
  
  <pre><code>int main(void)
  {
  
      int i, j, k, n;
      char userLatter, space;
      printf("please enter an uppercase letter:\n");
      scanf("%c", &amp;userLatter);
      n = 9;
  
      for (i = 0; i &lt; 5; i++)
      {
          space = ' ';
          for (j = 5; j &gt; i; j--)
          {
              ++space;
          }
  
  
          for (k = 0; k &lt;= i ; k += 1)
          {
              printf("%c%c%c", space, userLatter, space);
          }
          printf("\n");
      }
  
  }
  </code></pre>
  
  <p>Can you please tell me what I should do so I can print the space character?</p>
  
  <p>Thanks!</p>