Problem | sumint |
---|---|
User | Isaiah |
Submission Time | 2023-05-12 19:25:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:9:12: error: expected ‘]’ before ‘,’ token
9 | int emp[37, 17, 38, 47, 29, 83, 13, 2, 8, 72];
| ^
| ]
sumint.cpp:9:14: error: expected unqualified-id before numeric constant
9 | int emp[37, 17, 38, 47, 29, 83, 13, 2, 8, 72];
| ^~
sumint.cpp:12:17: error: ‘emp’ was not declared in this scope
12 | num2 = num2 + emp[i];
| ^~~