Problem 3nplus1
User Dan64091
Submission Time 2025-03-09 21:56:12
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 ‘while’
6 | cin >> n
| ^
| ;
7 | while(n != 1){
| ~~~~~
3nplus1.cpp:16:3: error: ‘c’ was not declared in this scope
16 | c
| ^