0_0_33507548_24794.cpp: In function 'int main()': 0_0_33507548_24794.cpp:25:20: error: 'ans' was not declared in this scope printf("%.1lf\n",ans); ^