Problem | fizzbuzz |
---|---|
User | Slayer555 |
Submission Time | 2023-12-20 16:53:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:12:38: error: lvalue required as left operand of assignment
12 | if (num[i] % A = 0 && num[i] % B = 0) {
| ^
fizzbuzz.cpp:15:25: error: lvalue required as left operand of assignment
15 | else if (num[i] % B = 0) {
| ^
fizzbuzz.cpp:18:11: error: expected ‘(’ before ‘num’
18 | else if num[i] % A = 0) {
| ^~~
| (
fizzbuzz.cpp:21:3: error: ‘else’ without a previous ‘if’
21 | else {
| ^~~~