0_0_13849647_15860.cpp: In function 'int main()':
0_0_13849647_15860.cpp:6:38: error: expected ')' before ';' token
printf("%d\n\n",(int)((1+n)*n/2);)
^
0_0_13849647_15860.cpp:6:39: error: expected primary-expression before ')' token
printf("%d\n\n",(int)((1+n)*n/2);)
^
|