Problem | card |
---|---|
User | themadpotato |
Submission Time | 2023-02-24 16:11:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:21:8: error: ‘instructions’ was not declared in this scope; did you mean ‘instruction’?
21 | if(instructions[i] == 'A'){
| ^~~~~~~~~~~~
| instruction
card.cpp:30:9: error: ‘instructions’ was not declared in this scope; did you mean ‘instruction’?
30 | if(instructions[i] == 'A'){
| ^~~~~~~~~~~~
| instruction
card.cpp:32:6: error: expected ‘}’ before ‘else’
32 | else{
| ^~~~
card.cpp:30:32: note: to match this ‘{’
30 | if(instructions[i] == 'A'){
| ^