online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> enum boolean { false , true }result; void main() { int x; printf("Enter a number "); scanf("%d", &x); if(x%2==0) result = true; else result = false; if (result) printf("Even Number"); else printf("Odd Number"); }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.