Problem | fizzbuzz |
---|---|
User | noel |
Submission Time | 2024-06-20 14:38:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:7:14: error: lvalue required as left operand of assignment
7 | if (i % A = 0){
| ^
fizzbuzz.cpp:10:19: error: lvalue required as left operand of assignment
10 | else if (i % B = 0){
| ^
fizzbuzz.cpp:13:19: error: lvalue required as left operand of assignment
13 | else if (i % A = 0; i % B = 0){
| ^
fizzbuzz.cpp:13:30: error: lvalue required as left operand of assignment
13 | else if (i % A = 0; i % B = 0){
| ^
fizzbuzz.cpp:17:10: error: expected ‘;’ before ‘}’ token
17 | cout<<i
| ^
| ;
18 | }
| ~