online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
//Ejercicio Propuesto 5 //Crea un programa que calcule el área de la siguiente figura: h=13, r=10. #include <iostream> #include <math.h> using namespace std; int main(){ float pi=3.1416, r=10, d=r*2, h=13, A=0; A=((pi*(pow(r,2)))/2)+((d*h)/2); cout<<"El Area de la figura es: "<<A<<"metros cuadrados..."<<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