Problem 3nplus1
User Emily
Submission Time 2023-12-28 12:25:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:12:11: error: stray ‘\357’ in program
12 | n=n/2;
| ^
3nplus1.cpp:12:12: error: stray ‘\274’ in program
12 | n=n/2;
| ^
3nplus1.cpp:12:13: error: stray ‘\233’ in program
12 | n=n/2;
| ^
3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:11:13: error: lvalue required as left operand of assignment
11 | if (n%2=0){
| ^
3nplus1.cpp:12:11: error: expected ‘;’ before ‘cout’
12 | n=n/2;
| ^
| ;
13 | cout<<n ;
| ~~~~