L1-051 打折 (5分)
题目详情:
AC代码:
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<fixed<<setprecision(2)<<0.1*a*b<<endl;
return 0;
}
运行结果:
永远相信美好标签:打折,int,L1,文章,include,051
来源: https://blog.csdn.net/qq_40968179/article/details/104442874