#include<stdio.h>
      int main()
      {
          int i, j;
          for(i=1; i<=5; i++)
          {
              for(j=1; j<=i; j++)
              {
                  printf("* ");
              }
              printf("\n");
          }
          return 0;
      }
      
      C language logo

      Pyramid star pattern

      0

      0

      avatar
      drzyadav

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.