text: #include <stdio.h>
  
  int main()
  {
      int n = 7;
      
      for(int i = 1; i <= n; i++) {
          for(int j = 1; j <= n; j++) {
              if(i == 1 || j == n || j == n - i + 1)
                  printf("* ");
              else 
                  printf("  ");
          }
          printf("\n");
      }
      
      return 0;
  }
  