online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> void main(){ char input = ' '; int v, c; v=c=0; while(input != '!'){ puts("Enter a char"); input = getchar(); switch(input){ case 'A': case 'a': case 'E': case 'e': case 'I': case 'i': case 'O': case 'o': case 'U': case 'u': v=v+1; break; default: c = c+1; } } if(v>c) puts("Vowel wins."); else if(c>v) puts("Constant wins."); else puts("It's a tie."); }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

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

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue