Problem evenorodd
User prasanaa
Submission Time 2024-02-23 09:28:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp:7:17: error: missing terminating ' character
7 | cout << "Even"'
| ^
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:5:9: error: expected primary-expression before ‘int’
5 | cin >> int k;
| ^~~
evenorodd.cpp:6:6: error: ‘k’ was not declared in this scope
6 | if (k%2 == 0){
| ^
evenorodd.cpp:7:17: error: expected ‘;’ before ‘}’ token
7 | cout << "Even"'
| ^
| ;
8 | } else{
| ~