[ create a new paste ] login | about

Link: http://codepad.org/cls1V9Av    [ raw code | output | fork ]

C, pasted on Jun 29:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include<stdio.h>
int main()
{
	int i,j;
	for(j=1;j<=6;j++)
	{
	for(i=6;i>=j;i--)
	{
	printf("%d",i);
	}
	printf("\n");
	}
     }


Output:
1
2
3
4
5
6
7
8
654321
65432
6543
654
65
6

Exited: ExitFailure 10


Create a new paste based on this one


Comments: