-->
当前位置:首页 > 题库

PROGRAMMING:JMU Python calculate interest rate

Luz5年前 (2021-05-10)题库398
Calculate the deposit interest with the formula interest = money ×( 1+rate)^year−money,
Interest is the interest (before tax) when the deposit matures, money is the deposit amount, year is the deposit period, and rate is the annual interest rate.
###Input format:
Enter three data, separated by spaces. The first data represents money, the second represents year, and the third represents rate
###Input example:
```in
1000 3 0.025
```
###Output example:
```out
interest=76.89
```







answer:If there is no answer, please comment