0_0_26752572_10444.cpp: In function 'int main()': 0_0_26752572_10444.cpp:63:48: error: 'i' was not declared in this scope cout << fixed << setprecision(2) << dp[i]/100.0 << endl; ^