Problem | fizzbuzz |
---|---|
User | Akshar |
Submission Time | 2024-06-20 15:56:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:6:9: error: lvalue required as left operand of assignment
6 | if(n%a=0){
| ^
fizzbuzz.cpp:8:15: error: lvalue required as left operand of assignment
8 | }else if(n%b=0){
| ^
fizzbuzz.cpp:11:21: error: expected ‘;’ before ‘}’ token
11 | cout << "FizzBuzz"
| ^
| ;
12 | }else if(n!%a&&n!%b){
| ~
fizzbuzz.cpp:12:13: error: expected ‘)’ before ‘!’ token
12 | }else if(n!%a&&n!%b){
| ~ ^
| )
fizzbuzz.cpp:13:28: error: expected ‘;’ before ‘)’ token
13 | for(long long i=0;i<n,i++){
| ^
| ;