You just need to calculate the price of something after discount.
This problem has several cases. Each case contains a number P (0.00 < P < 888888.00), means the price. And then follows a number D (1.00 <= D <= 9.99), means the discount.
For each case, you just need to calculate the price after discount.