#B2012. Influenza A Mortality Rate
Influenza A Mortality Rate
Influenza A Mortality Rate
Influenza A (H1N1) is not as deadly in China as one might assume. Based on the reported numbers up to December 22, 2009, each province has provided the number of confirmed cases \(a\) and the number of deaths \(b\). Your task is to calculate the mortality rate for each province.
The mortality rate is defined as follows:
$$\text{Death Rate} = \frac{b}{a} \times 100\%$$
inputFormat
The first line contains an integer \(n\), representing the number of provinces. Each of the following \(n\) lines contains two integers \(a\) and \(b\), where \(a\) is the number of confirmed cases and \(b\) is the number of deaths.
outputFormat
For each province, output the mortality rate in percentage format with exactly two digits after the decimal point. Each result should be printed on a new line.
sample
3
1000 10
2000 20
1500 15
1.00%
1.00%
1.00%
</p>