C++代码
#include<bits/stdc++.h>
using namespace std;
string a;
//注意开始引入字符串的概念了
double x,y;
double ans;
int main()
{
cin>>a;
//cin输入字符串方便,我以后会一直这样写,大家谅解
scanf("%lf%lf",&x,&y);
ans=x+y*15/100;
printf("TOTAL = R$ %.2lf",ans);
return 0;
}
h