0_0_24137785_16465.cpp: In function 'int main()': 0_0_24137785_16465.cpp:8:21: error: 'x' was not declared in this scope scanf("%lf %d",&x,&n); ^