Problem fizzbuzz
User spidermancoolboy
Submission Time 2024-01-28 23:28:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

fizzbuzz.cpp: In function ‘int fizz()’:
fizzbuzz.cpp:7:26: error: lvalue required as left operand of assignment
7 | if (num1%i=0 && num2%i=0){
| ^
fizzbuzz.cpp:9:21: error: lvalue required as left operand of assignment
9 | } else if (num1%i=0){
| ^
fizzbuzz.cpp:11:21: error: lvalue required as left operand of assignment
11 | } else if (num2%2=0){
| ^