Problem sumint
User Khai
Submission Time 2024-06-18 11:06:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:11:3: error: ‘totalMeows’ was not declared in this scope
11 | totalMeows += meows[i];// Read the meows for each day
| ^~~~~~~~~~
sumint.cpp:15:18: error: ‘totalMeows’ was not declared in this scope
15 | std::cout << totalMeows << std::endl; // Output the total meows
| ^~~~~~~~~~