税率问题。
普通商品除书和食物外,都征收10%的税,
进口商品都额外征收5%的税。
四舍五入到小数后2位。现有一清单:(input)
1  book at 12.49                    (不征收)
1 bottle of shampoo  at 23.49       (征收10%)
1 import box of  pills  at 20.50    (征收15%)
1 import box of cookies  at 45.00   (征收5%)
要求输出的为:(output)
1  book : 12.49
1 bottle of shampoo : 25.84
1 import box of  pills : 23.58
1 import box of cookies : 47.25
用java怎么实现?求解答