Advertisement
HristoBaychev

Deposit Calculator

Jan 22nd, 2023
637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. deposit = float(input())
  2. timeDeposit = int(input())
  3. percent = float(input())
  4.  
  5. interest = deposit * (percent / 100)
  6. totalInterest = interest / 12
  7. totalSum = deposit + (timeDeposit * totalInterest)
  8.  
  9. print(totalSum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement