C++代码
fixed<<setprecision(2)设置精度
#include<iostream>
#include<iomanip>
using namespace std;
double income,sales;
char name[11];
int main()
{
cin>>name>>income>>sales;
cout<<"TOTAL = R$ "<<fixed<<setprecision(2)<<income+0.15*sales;
return 0;
}