谁会???
wo bu fei
double a, b; cin >> a >> b; pirntf("%.9lf", a / b);
#include <bits/stdc++.h> using namespace std; int main() { int a, b; double c; cin >> a >> b; c = a * 1.0 / b; cout << fixed << setprecision(9) << c; return 0; }
共 3 条回复
wo bu fei
#include <bits/stdc++.h> using namespace std; int main() { int a, b; double c; cin >> a >> b; c = a * 1.0 / b; cout << fixed << setprecision(9) << c; return 0; }