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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:10: error: expected initializer before ‘>>’ token
5 | int cin >> num;
| ^~
3nplus1.cpp:6:10: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
6 | cout << num << ' ';
| ^~~
| enum