/**
C program to print alphabetical character pattern A
A
AB
ABC
ABCD
ABCDE
*/
#include <stdio.h>
#include<conio.h>
void main()
{
int i, j;
for (i=1;i<=5;i++)
{
for (j=0;j<i;j++) {
printf("%c", 'A'+ j);
}
printf("\n");
}
return 0;
}
C program to print alphabetical character pattern A
A
AB
ABC
ABCD
ABCDE
*/
#include <stdio.h>
#include<conio.h>
void main()
{
int i, j;
for (i=1;i<=5;i++)
{
for (j=0;j<i;j++) {
printf("%c", 'A'+ j);
}
printf("\n");
}
return 0;
}