[ create a new paste ] login | about

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

malsasa - C, pasted on Nov 18:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Program matriks 0 dimensi 5x5
int main()
{
int i, j;
   for(i=5; i>=1; i--)
   {
      for(j=5; j>=1; j--)
        {
          printf("0 ");
         }
   printf("\n");
   }
return 0;
}


Output:
1
2
3
4
5
0 0 0 0 0 
0 0 0 0 0 
0 0 0 0 0 
0 0 0 0 0 
0 0 0 0 0 


Create a new paste based on this one


Comments: