Problem | fizzbuzz |
---|---|
User | EuniceLoh |
Submission Time | 2024-11-07 11:01:25 |
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:16: 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:17:1: error: expected ‘}’ at end of input
17 | }
| ^
fizzbuzz.cpp:5:16: note: to match this ‘{’
5 | int32_t main() {
| ^