Problem eatinghealthy
User Surgemain
Submission Time 2025-08-28 16:16:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eatinghealthy.cpp: In function ‘int main()’:
eatinghealthy.cpp:5:5: error: declaration does not declare anything [-fpermissive]
5 | int;a, b, c, k;
| ^~~
eatinghealthy.cpp:5:9: error: ‘a’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:5:12: error: ‘b’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:5:15: error: ‘c’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:5:18: error: ‘k’ was not declared in this scope
5 | int;a, b, c, k;
| ^
eatinghealthy.cpp:9:16: error: expected ‘;’ before ‘else’
9 | cout<<"yes"
| ^
| ;
10 | else
| ~~~~
eatinghealthy.cpp:11:9: error: expected ‘}’ at end of input
11 | cout<<"no"
| ^~~~
eat