0_0_26927913_25484.cpp: In function 'int main()': 0_0_26927913_25484.cpp:18:3: error: 'sum' was not declared in this scope sum[0]=0; ^ 0_0_26927913_25484.cpp:35:8: error: 'j' was not declared in this scope for(j=sum[i];j>=money[i];j--) ^