fork download
  1. <?php
  2.  
  3.  
  4.  
  5.  
  6. for ($i = 1; $i <= 10; $i++) {
  7. for ($c = 1; $c <= 10; $c++){
  8. $c = $c+1;
  9. $b = $i*$c;
  10. echo" $i $c $b\n";
  11. };
  12.  
  13. };
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
 1 2 2
 1 4 4
 1 6 6
 1 8 8
 1 10 10
 2 2 4
 2 4 8
 2 6 12
 2 8 16
 2 10 20
 3 2 6
 3 4 12
 3 6 18
 3 8 24
 3 10 30
 4 2 8
 4 4 16
 4 6 24
 4 8 32
 4 10 40
 5 2 10
 5 4 20
 5 6 30
 5 8 40
 5 10 50
 6 2 12
 6 4 24
 6 6 36
 6 8 48
 6 10 60
 7 2 14
 7 4 28
 7 6 42
 7 8 56
 7 10 70
 8 2 16
 8 4 32
 8 6 48
 8 8 64
 8 10 80
 9 2 18
 9 4 36
 9 6 54
 9 8 72
 9 10 90
 10 2 20
 10 4 40
 10 6 60
 10 8 80
 10 10 100