Problem evenorodd
User BoneMeBurner
Submission Time 2023-04-14 15:15:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:2: error: expected initializer before ‘cin’
7 | cin >> i;
| ^~~
evenorodd.cpp:8:6: error: ‘i’ was not declared in this scope
8 | if (i % 2) == 1{
| ^
evenorodd.cpp:8:13: error: expected primary-expression before ‘==’ token
8 | if (i % 2) == 1{
| ^~