fork(1) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <locale.h>
  4.  
  5. main ()
  6. {
  7. setlocale(LC_ALL, "Portuguese");
  8. int i;
  9. for (i = 1; i <= 10; i++)
  10. {
  11. printf("6 X %d = %d\n",i, 6*i);
  12. }
  13. return 0;
  14. system("pause");
  15.  
  16. }
Success #stdin #stdout 0s 11064KB
stdin
Standard input is empty
stdout
6 X 1 = 6
6 X 2 = 12
6 X 3 = 18
6 X 4 = 24
6 X 5 = 30
6 X 6 = 36
6 X 7 = 42
6 X 8 = 48
6 X 9 = 54
6 X 10 = 60