0_0_33958902_21581.cpp: In function 'int main()': 0_0_33958902_21581.cpp:8:24: error: 'n' cannot be used as a function cout << sum = n(n + 1) / 2 << endl; ^