刚学C++,一道入门题,解释下

输入两个小数,两者相乘,将结果输出,要求结果保留两位小数。
怎么保留两位小数鸭?用万能头↓

#include<bits/stdc++.h>
using namespace std;

求全过程+代码,蟹蟹~

#include<bits/stdc++.h>
using namespace std;
int main()
{
    float a,b;
    cin>>a>>b;
    cout<<fixed<<setprecision(2)<<a*b;
    return 0;
}