0_0_15361829_22978.cpp: In function 'int main()': 0_0_15361829_22978.cpp:6:9: error: expected ')' before 'printf' printf("%.2f",(1+a)*a/2); ^