Programming Practice

Write a C program to read an integer between 2 and 29 (including) and then print a "isosceles triangle (yT)" of side n and bottom 2n-1 using character '*' as a point of the three sides.

@

Enter an integer between 3 and 29: 6
@

               *
              * *
             *   *
            *     *
           *       *
          ***********

@