0_0_26291611_23227.cpp: In function 'int main()': 0_0_26291611_23227.cpp:6:24: error: 'a' was not declared in this scope while(~scanf("%d",&a))printf("%d\n\n",((a+1)*a)/2); ^