#include <iostream> int main(){int a=5;if(a%2!=0){std::cout<<a<<"is odd";}else{std::cout<<a<<"is even";}return 0;}
Standard input is empty
5is odd
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!