Problem evenorodd
User aaaaaaaa
Submission Time 2023-11-08 10:54:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> a;
| ^~~
evenorodd.cpp:9:3: error: ‘cout’ was not declared in this scope
9 | cout << "Number is odd"<<;
| ^~~~
evenorodd.cpp:9:28: error: expected primary-expression before ‘;’ token
9 | cout << "Number is odd"<<;
| ^
evenorodd.cpp:11:2: error: ‘else’ without a previous ‘if’
11 | else;
| ^~~~
evenorodd.cpp:13:3: error: ‘cout’ was not declared in this scope
13 | cout << "number is even"<<;
| ^~~~
evenorodd.cpp:13:29: error: expected primary-expression before ‘;’ token
13 | cout << "number is even"<<;
| ^