Problem | fizzbuzz |
---|---|
User | AltheaZ |
Submission Time | 2023-06-18 11:27:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:6: error: expected ‘(’ before ‘i’
7 | if i%a==0 and i%b==0{
| ^
| (
fizzbuzz.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | else if i%a==0{
| ^~~~
fizzbuzz.cpp:10:11: error: expected ‘(’ before ‘i’
10 | else if i%a==0{
| ^
| (
fizzbuzz.cpp:13:3: error: ‘else’ without a previous ‘if’
13 | else if i%b==0{
| ^~~~
fizzbuzz.cpp:13:11: error: expected ‘(’ before ‘i’
13 | else if i%b==0{
| ^
| (
fizzbuzz.cpp:16:3: error: ‘else’ without a previous ‘if’
16 | else{
| ^~~~