Problem 3nplus1
User chickengoat
Submission Time 2025-01-18 21:32:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:15: error: expected ‘;’ before ‘startnum’
10 | cout << " "
| ^
| ;
11 | startnum = startnum/2;
| ~~~~~~~~
3nplus1.cpp:15:15: error: expected ‘;’ before ‘startnum’
15 | cout << " "
| ^
| ;
16 | startnum=startnum*3+1;
| ~~~~~~~~