C Program To Print Triangle of Alphabets (Pattern)

C Program To Print Triangle of Alphabets (Pattern)

#include<stdio.h>

int main()
{ 
	int c,a,e,l,num,m;
 
	e=64;
	printf("\n");

	for (l=1;l<=3;l++)
	{
		for (num=e+1;num<=e+l;num++)
			printf("%c\t",num);
			printf("\n");
	e=e+l;
	}
	printf("\n");

}

/* Output of above code:-

A 
B C 
D E F