/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include<iostream>
using namespace std;
int main(){
float Nota1,Nota2,Nota3,Practica = 0.30, Teorica = 0.60, Participacion = 0.10;
float NotaF = 0;
cout<<"Digite Nota 1: "; cin>>Nota1;
cout<<"Digite Nota 2: "; cin>>Nota2;
cout<<"Digite Nota 3: "; cin>>Nota3;
NotaF = (Nota1 * Practica)+ (Nota2 * Teorica)+(Nota3 * Participacion);
cout<<"/nNota Final: "<<NotaF;
return 0;
}