题解 | 疫情死亡率
疫情死亡率
https://www.nowcoder.com/practice/30ccb6041bce43c6989b910dc46d391c
#include <iostream>
using namespace std;
int main() {
int c, d;
scanf("%d %d", &c, &d);
printf("%.3f%%", 100.0 * (float)d / c);
}
疫情死亡率
https://www.nowcoder.com/practice/30ccb6041bce43c6989b910dc46d391c
#include <iostream>
using namespace std;
int main() {
int c, d;
scanf("%d %d", &c, &d);
printf("%.3f%%", 100.0 * (float)d / c);
}
相关推荐