Problem 3nplus1
User emmajwli
Submission Time 2023-11-06 15:52:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:2: error: expected initializer before ‘cin’
6 | cin >> num;
| ^~~
3nplus1.cpp:7:9: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
7 | while (num != 1){
| ^~~
| enum