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

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:9:9: error: expected unqualified-id before ‘%’ token
9 | if (int%2 = 0) {
| ^
evenorodd.cpp:13:14: error: expected ‘}’ at end of input
13 | cout<<"Odd";
| ^
evenorodd.cpp:12:6: note: to match this ‘{’
12 | else{
| ^
evenorodd.cpp:13:14: error: expected ‘}’ at end of input
13 | cout<<"Odd";
| ^
evenorodd.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^