Problem 3nplus1
User skibidininja98
Submission Time 2024-06-18 14:33:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin >> x;
| ^~~
3nplus1.cpp:9:20: error: expected ‘;’ before ‘{’ token
9 | else (x % 2 == 1){
| ^
| ;