online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> using namespace std; double media (double x1, double x2); //Prototipo int main() { double med, numero1, numero2; cout << "introduzca dos numeros " ; cin >> numero1 >> numero2; med = media (numero1, numero2); //Llamada a la función cout << " la media es :" << med << endl; return 0; } double media(double x1, double x2) //Definición { return (x1 + x2)/2; }

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