Problem evenorodd
User mandy
Submission Time 2024-06-26 15:51:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | cin >> x;
| ^~~
evenorodd.cpp:7:3: error: ‘cout’ was not declared in this scope
7 | cout << "x is odd \n";
| ^~~~
evenorodd.cpp:10:3: error: ‘cout’ was not declared in this scope
10 | cout << "x is even \n";
| ^~~~