0_0_36996158_29142.cpp:3:11: error: '::main' must return 'int' void main() { ^ 0_0_36996158_29142.cpp: In function 'int main()': 0_0_36996158_29142.cpp:12:18: error: 'end1' was not declared in this scope cout << sum << end1; ^