Problem 3nplus1
User spidermancoolboy
Submission Time 2024-01-27 23:53:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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