Здравейте, колеги! Извинявам се за безпокойството. Задачата изглежда елементарна, а ми дава постоянно 80 точки. Имате ли представа откъде идва проблемът в моя код? Благодаря!
Calculate Discount
You need to calculate the discounted price for each item in your shopping cart. The discount is 65%, a real deal for you.
Input
- On the first line, you will receive N - the number of the items in your shopping cart
- On the next N lines you will each item’s price
Output
- On each line in the output print the discounted price of the item with two digits after the decimal point (Math rules for rounding apply)
Input
2
50
40
Output
17.50
14.00