Problem 3nplus1
User XY
Submission Time 2023-07-19 20:21:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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