0_0_30379133_21543.cpp: In function 'int main()': 0_0_30379133_21543.cpp:32:38: error: 'ans2' was not declared in this scope printf("%.10f\n", double(ans2)); ^