题解 | #浮点除法#
浮点除法
https://ac.nowcoder.com/acm/contest/18839/1015
#include<bits/stdc++.h> //万能头,或引入头文件#include<iomanip>
using namespace std;
int main()
{
double a=0;
double b=0;
cin>>a>>b;
cout<<fixed<<setprecision(3)<<a/b<<endl; //保留小数 : <<fixed<<setprecision()<<
return 0;
}
