WAP To Print Pattern.
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
void
main()
{
char u;
int i,j;
for(i=65;i<=68;i++)
{ for(j=65;j<=i;j++)
{ u=j;
cout<<u;
}
cout<<"\n";
}
delay(50);
getch();
}
Comments
Post a Comment