提交时间:2024-03-23 10:36:09

运行 ID: 43784

#include <iostream> using namespace std; int main() { int a; // 确诊数 int b; // 死亡数 cin >> a; cin >> b; printf("%.3f%%", 100.0 * b / a); // 最后连续两个%代表输出一个% return 0; }