online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <iostream> #include <iomanip> using namespace std; const int CAPACIDAD = 5; int main() { int notas[CAPACIDAD] = {20,18,19,15,17}; float* p_float = new float{0}; for (int j = 0; j < CAPACIDAD; ++j) *p_float += notas[j]; *p_float /= CAPACIDAD; cout << fixed; cout << "Promedio:\t" << setprecision(2) << *p_float << endl; delete p_float; }

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