Problem | 3nplus1 |
---|---|
User | tomatofrog0w0 |
Submission Time | 2023-11-08 15:08:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:14:9: error: expected ‘;’ before ‘cout’
14 | n= n/2
| ^
| ;
15 | cout << n << " ";
| ~~~~
3nplus1.cpp:19:12: error: expected ‘;’ before ‘cout’
19 | n=(3*n)+1
| ^
| ;
20 | cout << n << " ";
| ~~~~