0_0_36996628_16587.cpp:5:5: error: missing terminating " character
while(~scanf("%d,&n))//
^
0_0_36996628_16587.cpp:6:5: error: stray '\266' in program
¶à×éÊäÈë
^
0_0_36996628_16587.cpp:6:5: error: stray '\340' in program
0_0_36996628_16587.cpp:6:5: error: stray '\327' in program
0_0_36996628_16587.cpp:6:5: error: stray '\351' in program
0_0_36996628_16587.cpp:6:5: error: stray '\312' in program
0_0_36996628_16587.cpp:6:5: error: stray '\344' in program
0_0_36996628_16587.cpp:6:5: error: stray '\310' in program
0_0_36996628_16587.cpp:6:5: error: stray '\353' in program
0_0_36996628_16587.cpp: In function 'int main()':
0_0_36996628_16587.cpp:8:5: error: expected primary-expression before 'int'
int sum=0
^
0_0_36996628_16587.cpp:8:5: error: expected '}' before 'int'
0_0_36996628_16587.cpp:8:5: error: expected ')' before 'int'
0_0_36996628_16587.cpp:9:12: error: expected ')' before ';' token
for(i=1;i<=n;i++)
^
0_0_36996628_16587.cpp:9:21: error: expected ';' before ')' token
for(i=1;i<=n;i++)
^
0_0_36996628_16587.cpp:13:21: error: 'sum' was not declared in this scope
printf("d%\n\n",sum);
^
0_0_36996628_16587.cpp: At global scope:
0_0_36996628_16587.cpp:15:2: error: expected unqualified-id before 'return'
return 0;
^
0_0_36996628_16587.cpp:16:1: error: expected declaration before '}' token
}
^
|