“Alphabet shapes 2 in C Programming” is a C program to display output in the form of a triangle shape containing alphabet pattern as shown in the following figure:
The source code of this C program about alphabet patterns in C programming is presented in the following code block.
/* Write a C program to print alphabet pattern triangle as shown below ABCDE ABCD ABC AB A */ #include<stdio.h> int main() { int row, col; for( row = 69; row >=65;row--) { for(col=65 ; col<=row; col++) printf("%c",col); printf("\n"); } return 0; }