0_0_37022959_2015.cpp: In function 'int main()':
0_0_37022959_2015.cpp:20:3: error: 'sum' was not declared in this scope
sum = 0;
^
0_0_37022959_2015.cpp:22:11: error: 'a' was not declared in this scope
sum += a[j];
^
0_0_37022959_2015.cpp: At global scope:
0_0_37022959_2015.cpp:28:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_37022959_2015.cpp:29:1: error: expected declaration before '}' token
}
^
|