Problem 3nplus1
User emmajwli
Submission Time 2023-11-06 15:53:24
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:10: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
7 | cout << num << " ";
| ^~~
| enum