Problem 3nplus1
User Alexis10
Submission Time 2023-11-08 14:11:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:15: error: expected ‘;’ before ‘n’
11 | cin >> n
| ^
| ;
12 | n=n/2
| ~
3nplus1.cpp:20:15: error: expected ‘;’ before ‘n’
20 | cin >> n
| ^
| ;
21 | n=3n+1
| ~