Problem | fizzbuzz |
---|---|
User | EuniceLoh |
Submission Time | 2024-11-07 11:02:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int32_t main()’:
fizzbuzz.cpp:11:20: error: expected ‘;’ before ‘endl’
11 | cout<<"FizzBuzz" endl;
| ^~~~~
| ;
fizzbuzz.cpp:12:18: error: lvalue required as left operand of assignment
12 | } else if (i%a=0){
| ^
fizzbuzz.cpp:13:16: error: expected ‘;’ before ‘endl’
13 | cout<<"Fizz" endl;
| ^~~~~
| ;
fizzbuzz.cpp:14:17: error: lvalue required as left operand of assignment
14 | } else if(i%b=0){
| ^
fizzbuzz.cpp:15:16: error: expected ‘;’ before ‘endl’
15 | cout<<"Buzz" endl;
| ^~~~~
| ;
fizzbuzz.cpp:18:10: error: expected ‘;’ before ‘}’ token
18 | return 0
| ^
| ;
19 | }
| ~