online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int a; int b; int c; int sum; cout<<"please inter the first number\n"; cin>>a; cout<<"please inter the second number\n"; cin>>b; cout<<"please inter the second number\n"; cin>>c; sum=a+b+c; if(1000>=a>=1&1000>=b>=1&1000>=c>=1){ cout<<"the sum of those numbers is "<<sum<<"\n"; } else { cout<<"out of range\n\n"; } return main(); }

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