title: Making A square with asterisk in C
body: <p>I am new to C language ,please help me .
  Well i am writing a code to make a square of asterisks. but i can't figure how to make the square completely. Here's my code :</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main(void){
      int n;
  
      for(n=1;n&lt;5;n++){
          printf("*");
      }
      for (n=1;n&lt;4;n++){
          printf("*\n");
      }
      for (n=1;n&lt;=5;n++){
          printf("*");
      }
      for(n=5;n&lt;=1;n--){
          printf("*\n");
      }
  
      getchar();
      return 0;
  }
  </code></pre>
  
  <p>Thanks !!
      it Should Exacxtly be Like</p>
  
  <pre><code>                           *****
                             *   *
                             *   *
                             *   *
                             *****
  </code></pre>