Problem 3nplus1
User proter1132
Submission Time 2023-02-24 15:08:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:4: error: ‘n’ was not declared in this scope
10 | n = 3*n+1;
| ^
3nplus1.cpp:12:4: error: ‘n’ was not declared in this scope
12 | n = n/2;
| ^
3nplus1.cpp:13:11: error: ‘n’ was not declared in this scope
13 | cout << n;
| ^
3nplus1.cpp:15:10: error: ‘n’ was not declared in this scope
15 | cout << n;
| ^