0_0_27988291_15939.cpp: In function 'int main()': 0_0_27988291_15939.cpp:7:27: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<' cout<(n*(n+1))/2<<endl<<endl; ^