Problem evenorodd
User Isaiah
Submission Time 2023-05-12 16:16:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:6:3: error: ‘cout’ was not declared in this scope
6 | cout <<"Even";
| ^~~~
evenorodd.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | using namespace std;
evenorodd.cpp:9:3: error: ‘cout’ was not declared in this scope
9 | cout <<"Odd";
| ^~~~
evenorodd.cpp:9:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?