A
A B
A B C
A B C D
A B C D E
#include<stdio.h>
void main()
{
int i,j;
for(i=65;i<=70;i++)
{
{
for(j=65;j<=i;j++)
printf("%c ",j);
}
printf("\n");
}
}
NOTE- i have compiled this program in codeblocks if u do it in turbo c++ use conio.h header file in the beginning and getch() a the last
A B
A B C
A B C D
A B C D E
#include<stdio.h>
void main()
{
int i,j;
for(i=65;i<=70;i++)
{
{
for(j=65;j<=i;j++)
printf("%c ",j);
}
printf("\n");
}
}
NOTE- i have compiled this program in codeblocks if u do it in turbo c++ use conio.h header file in the beginning and getch() a the last
No comments:
Post a Comment