0_0_38489802_14301.cpp: In function 'int main()': 0_0_38489802_14301.cpp:29:33: error: 'ans' was not declared in this scope printf("Case %d: %.5lf\n",cas,ans); ^