Alphabet Pattern 13-Pyramid pattern using alphabets in C programming
In this program, we will see the Pyramid pattern using alphabets in C programming language. Please look into the program.
A B C D E F G H I J K L M N O
The C program for the Pyramid or triangle pattern using alphabets is as follows:
#include <stdio.h> int main() { int a,b; char ch='A'; for(a=1;a<=5;a++) { for(b=1;b<=a;b++) { printf("%c ",ch++); } printf("n"); } getch(); return 0; }