Problem 3nplus1
User sid
Submission Time 2023-05-11 11:54:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:10: error: expected ‘;’ before ‘if’
6 | cin >> n
| ^
| ;
7 | if (n % 2 == 1){
| ~~