Problem 3nplus1
User CrackingCodes
Submission Time 2024-04-05 14:09:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:10: error: expected ‘;’ before ‘cout’
6 | cin >> n
| ^
| ;
7 | cout << n << ' ';
| ~~~~
3nplus1.cpp:9:7: error: ‘a’ was not declared in this scope
9 | if (a % 2 == 0)
| ^