title: How to Print Star pyramid using for loops In this C language
body: <p>Here is my code i am not able to print pyramid please help...</p>
  
  <pre><code>for(i=1;i&lt;=5;i+=2){
     for(j=4;j&gt;=i;j--)
         printf(" ");
     for(k=1;k&lt;=i;k++)
         printf("*");
     printf("\n");
  }
  </code></pre>