fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int i,j,suma;
  5. i=1;
  6. for(i=1;i<6;i++)
  7. {
  8. for (j=1;j<=6;j++)
  9. {
  10. if (j != 1)
  11. {
  12.  
  13. printf("(%d , %d) ",i,j);
  14. printf("\n");
  15. }
  16. }
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
(1 , 2) 
(1 , 3) 
(1 , 4) 
(1 , 5) 
(1 , 6) 
(2 , 2) 
(2 , 3) 
(2 , 4) 
(2 , 5) 
(2 , 6) 
(3 , 2) 
(3 , 3) 
(3 , 4) 
(3 , 5) 
(3 , 6) 
(4 , 2) 
(4 , 3) 
(4 , 4) 
(4 , 5) 
(4 , 6) 
(5 , 2) 
(5 , 3) 
(5 , 4) 
(5 , 5) 
(5 , 6)