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