<iomanip>头文件求浮点数的精度(小数点后几位)
#include <bits/stdc++.h>万能头文件,包含所有库函数;
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double a,b;
cin>>a>>b;
cout << "MEDIA = " << fixed << setprecision(5) << (a * 3.5 + b * 7.5 ) / 11 << endl;
return 0;
}