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