Problem 3nplus1
User ryelin
Submission Time 2023-11-08 15:56:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function β€˜int main()’:
3nplus1.cpp:5:11: error: expected primary-expression before β€˜=’ token
5 | while(n!==1){
| ^
3nplus1.cpp:6:11: error: lvalue required as left operand of assignment
6 | if(n%2=0){
| ^