int main(){
float v1, v2, t1, t2, vf, tf;
cout << "Volumele de apa (v1, v2)): ";
cin >> v1 >> v2;
cout << "Temperaturile (t1, t2)): ";
cin >> t1 >> t2;
vf = v1+v2;
tf = ( v1*t1 + v2*t2 ) /vf; // Media aritmetica ponderata
cout << "Volum final : " << vf;
cout << "\nTemperatura finala : " << tf;