prog.c: In function ‘f1’:
prog.c:7:23: error: invalid operands to binary % (have ‘double’ and ‘int’)
y=(pow(x,a)+sqrt(x)+3)%a;
~~~~~~~~~~~~~~~~~~~~^
prog.c: At top level:
prog.c:12:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main()
^~~~
prog.c: In function ‘main’:
prog.c:17:14: error: invalid operands to binary & (have ‘char *’ and ‘int’)
scanf("%d%d"&x,&a);
~~~~~~^
prog.c:19:13: error: expected ‘)’ before ‘y’
printf("%f"y);
^
prog.c:19:11: warning: format ‘%f’ expects a matching ‘double’ argument [-Wformat=]
printf("%f"y);
^
prog.c:15:8: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
float y;
^