/in/foo.c: In function 'main':
/in/foo.c:7:15: error: expected ')' before '\U0000ff0c\U0000ff06x1'
7 | scanf("%d %d",&x1,&x2);
| ~ ^~~~~~
| )
/in/foo.c:7:10: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
7 | scanf("%d %d",&x1,&x2);
| ~^
| |
| int *
/in/foo.c:7:13: warning: format '%d' expects a matching 'int *' argument [-Wformat=]
7 | scanf("%d %d",&x1,&x2);
| ~^
| |
| int *
/in/foo.c: At top level:
/in/foo.c:15:10: error: 'a' undeclared here (not in a function)
15 | int gcd =a;
| ^
/in/foo.c:16:11: error: 'b' undeclared here (not in a function)
16 | int lcm=a*b/gcd;
| ^
/in/foo.c:17:12: error: expected declaration specifiers or '...' before string constant
17 | printf("%d %d\n",gcd,lcm);
| ^~~~~~~~~
/in/foo.c:17:22: error: expected declaration specifiers or '...' before 'gcd'
17 | printf("%d %d\n",gcd,lcm);
| ^~~
/in/foo.c:17:26: error: expected declaration specifiers or '...' before 'lcm'
17 | printf("%d %d\n",gcd,lcm);
| ^~~
/in/foo.c:18:1: error: expected identifier or '(' before 'return'
18 | return 0;
| ^~~~~~
/in/foo.c:19:1: error: expected identifier or '(' before '}' token
19 | }
| ^