No.285 Consumption Tax 2
タグ : / 解いたユーザー数 565
作問者 :
nmnmnmnmnmnmnm
Problem Statement
The currency unit of a certain country is the "Yukikoda".
You are now about to buy an item costing D Yukikoda?
However, a consumption tax at a rate of 8% is added to the price of the item.
What is the amount after the consumption tax is added?
Calculate exactly, with no error, including the digits after the decimal point.
As long as the value is correct, the output may contain extra decimal digits.
Be careful of rounding errors.
Input
D
D is the price of the item, a positive integer. $1 \le $ D $ \le 1000000000000=10^{12}$.
Output
Output the amount to pay on one line.
Print a newline at the end.
Sample
Sample 1
Input
100
Output
108
You bought an item costing 100 Yukikoda.
Since the consumption tax is 8%, the amount is 108 Yukikoda. (Outputs such as 108.00 are also correct.)
Sample 2
Input
10
Output
10.8
You bought an item costing 10 Yukikoda.
Since the consumption tax is 8%, the amount is 10.8 Yukikoda.
Sample 3
Input
123
Output
132.84
You bought an item costing 123 Yukikoda.
Since the consumption tax is 8%, the amount is 132.84 Yukikoda.
Sample 4
Input
1000000000000
Output
1080000000000
If you buy an item costing 1 trillion Yukikoda, the consumption tax is 80 billion Yukikoda.
The consumption tax is really nothing to sneeze at.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。