FANDOM

1,078,422 Pages
Welcome! Enter your question below. Please use words like "Who, What, Where, When, Why, How, etc..." in your question. Nothing to ask? Click here for a random, un-answered question.

 int i, j;
 int n = 5;
 
 for (i = 0; i < n; i++)
 {
     for (j = 0; j < i; j++)
     {
         printf("*");
     }
     printf("\n");
 }
 for (i = n - 2; i >= 0; i--)
 {
     for (j = 0; j < i; j++)
     {
         printf("*");
     }
     printf("\n");
 }

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.