How to code this problem in code block
Define the integer "EVEN" or "ODD"
#include <iostream>
void main(){
& int a;& // declare the variable for the number (integer)
& cout<<"enter a number: ";&
& cin>>a; // input number
& if (a%2==0) cout<<"EVEN";& // determine if the number is even or odd; output the result
& else cout<<"ODD";
}