0_0_36520069_13330.cpp: In function 'int main()':
0_0_36520069_13330.cpp:19:9: error: expected ';' before 'double'
double d=(xr-xl)/2;
^
0_0_36520069_13330.cpp:21:22: error: 'd' was not declared in this scope
double ans=h*d*(4*k-10+3.0/pow(2,k-2));
^
|