online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <cmath> //para usar trunc const float PI = 3.14; using namespace std; int main(){ int x; cout<<"Ingrese el dinero"<<"\n"; cin>>x; if( x%10 == 0 ){ int a1 = x/100; cout<<trunc(x/100)<<" billetes de 100 y sobran "<<x%100<<"\n"; cout<<trunc(x/50)<<" billetes de 50: "<<"\n"; cout<<trunc(x/20)<<" billetes de 20: "<<"\n"; cout<<trunc(x/10)<<" billetes de 10: "<<endl; }else{ cout<<"El dinero no este mùltiplo de 10"<<endl; } 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.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue