1) WAP to print the following pattern
AA B
A B C
A B C D
prog:
#include"stdio.h"#include"conio.h"
void main()
{
char i, j;
clrscr();
for(i='A'; i<='D'; i++)
{
for(j='A'; j<=i; j++)
{
printf("%c ", j);
}
printf("\n ");
}
getch();
}
Everyone Is Equal In Front Of Tecinology
Hello Friends,
I am writing the programs for you.
Start noting from bottom to top.
Visit
0 comments:
Post a Comment
If you have any proble fee free to ask it here