online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> int main() { int a; printf("Enter your age:\n"); scanf("%d", &a); if (a >= 18) { printf("You can vote!"); } else if (a < 18) { printf("You can't vote!"); } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



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