fork(1) download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int i,j,m;
  5. for(i=1;i<=9; i++)
  6. {
  7. for(j=1; j<=i; j++)
  8. {
  9. m=i*j;
  10. printf("%d*%d=%4d",i,j,m);
  11. }
  12. printf("\n");
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
1*1=   1
2*1=   22*2=   4
3*1=   33*2=   63*3=   9
4*1=   44*2=   84*3=  124*4=  16
5*1=   55*2=  105*3=  155*4=  205*5=  25
6*1=   66*2=  126*3=  186*4=  246*5=  306*6=  36
7*1=   77*2=  147*3=  217*4=  287*5=  357*6=  427*7=  49
8*1=   88*2=  168*3=  248*4=  328*5=  408*6=  488*7=  568*8=  64
9*1=   99*2=  189*3=  279*4=  369*5=  459*6=  549*7=  639*8=  729*9=  81