0_0_31217949_26879.cpp:9:3: error: missing terminating " character
scanf("%s","a[i]);
^
0_0_31217949_26879.cpp: In function 'int main()':
0_0_31217949_26879.cpp:5:1: error: 'inti' was not declared in this scope
inti,j,n,k;
^
0_0_31217949_26879.cpp:5:6: error: 'j' was not declared in this scope
inti,j,n,k;
^
0_0_31217949_26879.cpp:5:8: error: 'n' was not declared in this scope
inti,j,n,k;
^
0_0_31217949_26879.cpp:5:10: error: 'k' was not declared in this scope
inti,j,n,k;
^
0_0_31217949_26879.cpp:8:7: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_31217949_26879.cpp:10:3: error: expected primary-expression before 'int'
int max=-1,sum;
^
0_0_31217949_26879.cpp:10:14: error: 'sum' was not declared in this scope
int max=-1,sum;
^
0_0_31217949_26879.cpp:11:7: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_31217949_26879.cpp:12:5: error: 'sum' was not declared in this scope
{ sum=0
^
0_0_31217949_26879.cpp:25:6: error: 'return0' was not declared in this scope
return0;
^
|