Problem | fizzbuzz |
---|---|
User | vippy |
Submission Time | 2024-04-14 20:26:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:12:7: error: expected ‘}’ before ‘else’
12 | else if(i%a==0)
| ^~~~
fizzbuzz.cpp:10:23: note: to match this ‘{’
10 | }else if(i%b==0){
| ^
fizzbuzz.cpp:14:8: error: ‘else’ without a previous ‘if’
14 | }else{
| ^~~~
fizzbuzz.cpp:15:14: error: ‘i’ was not declared in this scope
15 | cout << i << endl;
| ^
fizzbuzz.cpp: At global scope:
fizzbuzz.cpp:18:4: error: expected unqualified-id before ‘return’
18 | return 0;
| ^~~~~~
fizzbuzz.cpp:19:1: error: expected declaration before ‘}’ token
19 | }
| ^