Friday, 15 June 2012

Program To Print A Reverse Star In C++

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

No comments:

Post a Comment