Problem | fizzbuzz |
---|---|
User | asruby |
Submission Time | 2023-11-30 20:00:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:8:29: error: expected primary-expression before ‘!=’ token
8 | if ((i % A) and (i % B)) != 0{
| ^~
fizzbuzz.cpp:12:19: error: expected ‘;’ before ‘}’ token
12 | cout << "Fizz"
| ^
| ;
13 | }
| ~
fizzbuzz.cpp:16:19: error: expected ‘;’ before ‘}’ token
16 | cout << "Buzz"
| ^
| ;
17 | }
| ~
fizzbuzz.cpp:18:15: error: expected ‘;’ before ‘}’ token
18 | cout << "\n"
| ^
| ;
......
21 | }
| ~