0_0_33346861_8702.cpp:1:2: error: invalid preprocessing directive #inciude
#inciude<stdio.h>
^
0_0_33346861_8702.cpp: In function 'int main()':
0_0_33346861_8702.cpp:5:14: error: 'scanf' was not declared in this scope
scanf("%d",&a);
^
0_0_33346861_8702.cpp:6:15: error: 'n' was not declared in this scope
printf("%d\n",n*(n+1)/2);
^
0_0_33346861_8702.cpp:6:24: error: 'printf' was not declared in this scope
printf("%d\n",n*(n+1)/2);
^
|