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