Friday, 15 June 2012

Program To Print Pyramid


Program To Print Pyramid

#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
main()
{
clrscr();
int i,j;
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j++)
{
}
cout<<"\n";
}
getch();
}

No comments:

Post a Comment