[ create a new paste ] login | about

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

C, pasted on Jan 14:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include<stdio.h>

int main()
{
int i,k;
 
for(i=0; i < 10; i++)
{
   for(k=i;k < i+1;k++)
   {
      printf("%d", k);
   }
}

return 0;
}


Output:
1
0123456789


Create a new paste based on this one


Comments: