prog.c: In function ‘main’:
prog.c:8:32: error: expected ‘)’ before ‘;’ token
v=sqrt(pow(v0,2)+2*a*(x-x0);
^
prog.c:11:1: error: expected ‘;’ before ‘}’ token
}
^
prog.c:5:24: warning: variable ‘v’ set but not used [-Wunused-but-set-variable]
float v0, a, x, x0,v;
^