Problem | 3nplus1 |
---|---|
User | anantika |
Submission Time | 2024-08-04 20:58:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:11: error: lvalue required as left operand of assignment
7 | if (n%2=0){
| ^
3nplus1.cpp:15:1: error: expected ‘}’ at end of input
15 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^