提交时间:2024-01-31 21:56:04
运行 ID: 39343
#include<iostream> #include<iomanip> using namespace std; int main() { int x,y; cin>>x>>y; double a=1.0*y/x; double b=a/100; cout<<fixed<<setprecision(3)<<b<<"%"<<endl; return 0; }