Здравейте, имам проблем със закръгляването на резултата до втората цифра.
Условие на задачата:
You have deposited a sum into your bank account for 3 years. The bank has announced an interest of 5% per year. Each time the interest is calculated and added to your deposit. You have to calculate the amount in your deposit for each year.
- On the only line you will receive a number (n) with the sum deposited
- You should print the amount in your deposit for each of the 3 years
- You must print the number with two numbers after the decimal point. The rules of math for rounding apply here
1050.00 1102.50 1157.63
2100.00 2205.00 2315.25