Problem 3nplus1
User ayreentazz
Submission Time 2026-02-28 10:27:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:14: error: lvalue required as left operand of assignment
9 | if(n % 2 = 0){
| ^
3nplus1.cpp:10:9: error: expected ‘;’ before ‘}’ token
10 | n=n/2
| ^
| ;
11 | }
| ~