Alphabet Pattern 6-Pyramid or triangle pattern using alphabets in C programming
In this program, we will see the Pyramid or triangle pattern using alphabets in C programming language. Please look into the program.
E DD CCC BBBB AAAAA
The C program for Pyramid or triangle pattern using alphabets is as follows:
#include <stdio.h> int main() { int a, b; for(a=5;a>=1;a--) { for(b=5;b>=a;b--) { printf("%c",'A'-1 + a); } printf("n"); } getch(); return 0; }