Problem choochoo
User minyin
Submission Time 2023-02-27 17:03:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

choochoo.cpp: In function ‘int main()’:
choochoo.cpp:11:12: error: ‘temp’ was not declared in this scope
11 | cin >> temp;
| ^~~~
choochoo.cpp:16:1: error: expected primary-expression before ‘if’
16 | if(n%2==0){
| ^~
choochoo.cpp:14:3: error: expected ‘)’ before ‘if’
14 | }
| ^
| )
15 |
16 | if(n%2==0){
| ~~
choochoo.cpp:12:4: note: to match this ‘(’
12 | if(temp=="chugga"{
| ^