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

Compile Error

eatinghealthy.cpp: In function ‘int main()’:
eatinghealthy.cpp:5:4: error: expected initializer before ‘cin’
5 | cin>>a>>b>>c>>k
| ^~~
eatinghealthy.cpp:10:5: error: ‘else’ without a previous ‘if’
10 | }else{
| ^~~~
eatinghealthy.cpp:11:17: error: expected ‘;’ before ‘endl’
11 | cout << "NO" endl;
| ^~~~~
| ;
eatinghealthy.cpp: At global scope:
eatinghealthy.cpp:21:1: error: expected declaration before ‘}’ token
21 | }
| ^