👤

Se citesc 4 note si teza ,sa se calculeze media . ALGORITM IN C++

Răspuns :

#include <iostream>
using namespace std;
int main(){
    float a, b, c, d, t, med;
    cin>>a>>b>>c>>d>>t;
    med = (((a+b+c+d)/4)*3+t)/4;
    cout<<med;
}