Main.c: In function ‘main’:
Main.c:9:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
}while(a,b,c,x <=0 and a,b,c,x > pow(10,6));
^
Main.c:9:15: warning: left-hand operand of comma expression has no effect [-Wunused-value]
}while(a,b,c,x <=0 and a,b,c,x > pow(10,6));
^
Main.c:9:17: warning: left-hand operand of comma expression has no effect [-Wunused-value]
}while(a,b,c,x <=0 and a,b,c,x > pow(10,6));
^
Main.c:9:24: error: expected ‘)’ before ‘and’
}while(a,b,c,x <=0 and a,b,c,x > pow(10,6));
^~~
Main.c:10:15: warning: implicit declaration of function ‘pow’ [-Wimplicit-function-declaration]
int fx = a*pow(x,2)+b*x+c;
^~~
Main.c:10:15: warning: incompatible implicit declaration of built-in function ‘pow’
Main.c:10:15: note: include ‘’ or provide a declaration of ‘pow’
Main.c:8:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &a,&b,&c,&x);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~