Problem evenorodd
User xiaotong
Submission Time 2023-11-08 11:23:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:6:2: error: expected initializer before ‘cin’
6 | cin >> n;
| ^~~
evenorodd.cpp:7:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | if(n % 2 = 1){
| ^
| yn