Problem evenorodd
User jonellaaa
Submission Time 2023-11-08 15:21:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int32_t main()’:
evenorodd.cpp:8:19: error: ‘x’ was not declared in this scope
8 | int a; cin >> x;
| ^
evenorodd.cpp:10:16: error: expected primary-expression before ‘,’ token
10 | cout <<, "even\n";
| ^
evenorodd.cpp:13:22: error: expected ‘;’ before ‘}’ token
13 | cout << "odd\n"
| ^
| ;
14 | }
| ~