Problem 3nplus1
User Dannyboy
Submission Time 2023-11-10 14:00:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:9: error: expected initializer before ‘/=’ token
8 | int n/=2;
| ^~
3nplus1.cpp:10:9: error: expected initializer before ‘*=’ token
10 | int n*=3;
| ^~
3nplus1.cpp:11:9: error: expected initializer before ‘+=’ token
11 | int n+=1;
| ^~
3nplus1.cpp:13:12: error: expected ‘;’ before ‘}’ token
13 | cout << n
| ^
| ;
14 | }
| ~