online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/*5.- Crea un programa que calcule el área de la siguiente figura:(triangulo rectangular)*/ #include <iostream> using namespace std; int main() { int r=10, h=13, A=0; A=(r*h)/2; cout<<"El area es: "<<A<<"cm²"<<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