fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,b;
  5.  
  6. for(a=0;a<=5;a++) {
  7. for(b=0;b<=3;b++) {
  8. printf("%d+%d=%d\n",a,b,a+b);
  9. }
  10. }
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5616KB
stdin
Standard input is empty
stdout
0+0=0
0+1=1
0+2=2
0+3=3
1+0=1
1+1=2
1+2=3
1+3=4
2+0=2
2+1=3
2+2=4
2+3=5
3+0=3
3+1=4
3+2=5
3+3=6
4+0=4
4+1=5
4+2=6
4+3=7
5+0=5
5+1=6
5+2=7
5+3=8