CODE
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
for(int i=1; i<=5; i++)
{
for(int j=1; j<=i; j++)
{
cout<<"*";
}
cout<<endl<<endl;
}
getch();
}
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
for(int i=1; i<=5; i++)
{
for(int j=1; j<=i; j++)
{
cout<<"*";
}
cout<<endl<<endl;
}
getch();
}
0 comments:
Post a Comment