online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream> #include<conio.h> void main ( ) { int a, b, c; int sum = 0; int sub; float prod =1; float div; if (12<a && a<20) sum = a+b+c; else if (b>30) sub = b-c; else if (10<c<18) prod = a*b; else div =c/a; cout<<" The values of sum, sub, prod and div are:"<<sum<<sub<<prod<<div; getch( ); }

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