C Program to print various triangular patterns

Pattern 1: Half Pyramid pattern using *

The following is a C program to print half pyramid pattern using *:

Expected Output: 

Pattern 2: Half Pyramid pattern using numbers

The following is a C program to print half pyramid pattern using numbers:

Expected Output:

Pattern 3: Half pyramid pattern using alphabets

The following is a C program to print half Pyramid pattern using alphabets:

Expected Output:

Pattern 4: Inverted right triangle pattern using *

The following is a C program to print inverted right triangle using *:

Expected Output:

Pattern 5: Full Pyramid pattern using *

The following is a C program to print full Pyramid pattern using *:

Expected Output:

Pattern 6: Full inverted pyramid pattern using *

The following is a C program to print full inverted pyramid pattern using *:

Expected Output:

Pattern 7: Hollow right-angled triangle using *

The following is a C program to print hollow right-angled triangle using *:

Expected Output:

Pattern 8: Inverted hollow right-angled triangle using *

The following is a C program to print inverted hollow right-angled triangle using *:

Expected Output:

Pattern 9: Full hollow pyramid using *

The following is a C program to print a full hollow pyramid using *:

Expected Output:

Pattern 10: Full inverted hollow pyramid using *

The following is a C program to print a full hollow inverted pyramid using *:

Expected Output:

Pattern 11: Diamond pattern using *

The following is a C program to print a diamond pattern using *:

Expected Output:


Recommended Programs:

Leave a Comment

%d bloggers like this: