0_0_37375459_25084.cpp: In function 'int main()': 0_0_37375459_25084.cpp:24:46: error: 'n' was not declared in this scope sum[0]=thousand[0]+hundred[0]+ten[0]+n ^