Problem | lunchbox |
---|---|
User | Dam |
Submission Time | 2023-01-17 13:40:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:46:42: error: expected ‘;’ before ‘if’
46 | numberOfLunchBoxes -= listLunchBoxes[i]
| ^
| ;
47 |
48 | if(numberOfLunchBoxes < 0){
| ~~
lunchbox.cpp:51:5: error: ‘else’ without a previous ‘if’
51 | } else {
| ^~~~