0_0_21423800_13579.cpp: In function 'int main()': 0_0_21423800_13579.cpp:10:40: error: expected primary-expression before '<<' token cout << (1 + a) * (float) a/2; << "\n\n"; ^