Search (Article Or Program)

18 June 2011

Diagonal Print (IN C)

#include
#include
main()
{
clrscr();
int i,j,k,space=1;
for(j=10;j>=1;j--)
{for(i=1;i<=j;i++) { printf("*"); } for(int m=0;m=1;k--)

{
printf("*");
}

printf("\n");
space=space+2;
}
getch();
}