Problem | fizzbuzz |
---|---|
User | noel |
Submission Time | 2024-06-20 14:36:21 |
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:8:9: error: ‘Fizz’ was not declared in this scope
8 | cout<<Fizz;
| ^~~~
fizzbuzz.cpp:10:19: error: lvalue required as left operand of assignment
10 | else if (i % B = 0){
| ^
fizzbuzz.cpp:11:9: error: ‘Buzz’ was not declared in this scope
11 | cout<<Buzz;
| ^~~~
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:14:9: error: ‘FizzBuzz’ was not declared in this scope
14 | cout<<FizzBuzz;
| ^~~~~~~~