0_0_36465157_15055.cpp: In function 'int main()':
0_0_36465157_15055.cpp:6:13: error: expected primary-expression before ')' token
while(cin>>) cout<<n*(n+1)/2<<endl;
^
0_0_36465157_15055.cpp:6:21: error: 'n' was not declared in this scope
while(cin>>) cout<<n*(n+1)/2<<endl;
^
|