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

Compile Error

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