0_0_39647344_6190.cpp: In function 'int main()': 0_0_39647344_6190.cpp:18:9: error: 'sum' was not declared in this scope 18 | sum+=n; | ^~~