fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int a;
  6. Scanf("%d",&a);a
  7. for (int i = 1; i <= 9; i++)
  8. {
  9. for (int j = 1; j <= 9; j++)
  10. {
  11. printf("%d x %d = %d\n", i, j, (i*j));
  12. }
  13. printf("\n");
  14. }
  15.  
  16. return 0;
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:6:2: warning: implicit declaration of function ‘Scanf’ [-Wimplicit-function-declaration]
  Scanf("%d",&a);a
  ^~~~~
prog.c:6:17: warning: statement with no effect [-Wunused-value]
  Scanf("%d",&a);a
                 ^
prog.c:7:5: error: expected ‘;’ before ‘for’
     for (int i = 1; i <= 9; i++)
     ^~~
stdout
Standard output is empty