Problem 3nplus1
User Yicen
Submission Time 2025-02-11 16:54:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:13: error: lvalue required as left operand of assignment
8 | if (n%2 = 0){
| ^
3nplus1.cpp:15:11: error: expected ‘;’ before ‘return’
15 | cout<<n
| ^
| ;
16 | return 0;
| ~~~~~~