Problem 3nplus1
User asbx
Submission Time 2023-11-08 10:23:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:15:11: error: expected ‘;’ before ‘n’
15 | cout<<n
| ^
| ;
16 | n=(3*n)+1;
| ~