0_0_20980848_20423.cpp:22:17: error: stray '#' in program sum+=a; ^ 0_0_20980848_20423.cpp: In function 'int main()': 0_0_20980848_20423.cpp:22:21: error: expected primary-expression before '=' token sum+=a; ^