Problem 3nplus1
User 2Princes1Lance
Submission Time 2023-11-22 15:36:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:13: error: expected ‘)’ before ‘;’ token
7 | while(n = n; n != 1){
| ~ ^
| )
3nplus1.cpp:7:21: error: expected ‘;’ before ‘)’ token
7 | while(n = n; n != 1){
| ^
| ;
3nplus1.cpp:16:10: error: expected ‘;’ before ‘}’ token
16 | return 0
| ^
| ;
17 | }
| ~