prog.c: In function ‘main’:
prog.c:8:38: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context]
for(y=14;y<=30;y=y+1){if(x+y=30 && x*y=221);
~^~
prog.c:8:40: error: lvalue required as left operand of assignment
for(y=14;y<=30;y=y+1){if(x+y=30 && x*y=221);
^
prog.c:8:24: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
for(y=14;y<=30;y=y+1){if(x+y=30 && x*y=221);
^~
prog.c:9:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{printf("%d\,%d\n"x,y)}
^
prog.c:9:10: warning: unknown escape sequence: '\,'
{printf("%d\,%d\n"x,y)}
^~~~~~~~~~
prog.c:9:20: error: expected ‘)’ before ‘x’
{printf("%d\,%d\n"x,y)}
^
)
prog.c:9:12: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
{printf("%d\,%d\n"x,y)}
~^
prog.c:9:16: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
{printf("%d\,%d\n"x,y)}
~^
prog.c:9:24: error: expected ‘;’ before ‘}’ token
{printf("%d\,%d\n"x,y)}
^
;
prog.c:11:1: error: expected declaration or statement at end of input
}
^
prog.c:11:1: error: expected declaration or statement at end of input
prog.c:6:6: warning: unused variable ‘a’ [-Wunused-variable]
int a;
^