#include <iostream>
#include <iomanip>
using namespace std;
int main() {
double a,b;
cin >> a >> b ;
// cout << "5: " << fixed << setprecision(5) << a/b << endl;
// cout << "4: " << fixed << setprecision(4) << a/b <<endl;
// cout << "3: " << fixed << setprecision(3) << a/b <<endl;
// cout << "2: " << fixed << setprecision(2) << a/b <<endl;
// cout << "1: " << fixed << setprecision(1) << a/b <<endl;
cout << "5: " << setprecision(5) << a/b << endl;
cout << "4: " << setprecision(4) << a/b <<endl;
cout << "3: " << setprecision(3) << a/b <<endl;
cout << "2: " << setprecision(2) << a/b <<endl;
cout << "1: " << setprecision(1) << a/b <<endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: