online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
//Ejercicio Propuesto 3 /*La calificación final de un estudiante es el promedio de tres notas: la nota de prácticas que cuenta un 30% del total, la nota teórica que cuenta un 60% y la nota de participación que cuenta el 10% Escriba un programa que lea las tres notas del alumno y escriba su nota final.*/ #include <iostream> using namespace std; int main(){ float NotaP=5, NotaT=7, notaP=5, NotaF=0; NotaF=(NotaP*0.30)+(NotaT*0.60)+(NotaP*0.10); cout<<"La nota final es: "<<NotaF<<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