Problem bananasmoothie
User yeddy
Submission Time 2024-05-05 10:18:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:21:10: error: ‘i’ was not declared in this scope
21 | if (arr[i]<0)break;
| ^
bananasmoothie.cpp:21:15: error: break statement not within loop or switch
21 | if (arr[i]<0)break;
| ^~~~~