Vous êtes sur la page 1sur 1

Declare

Declare
Declare
Declare
Declare

StartingBalance
Deposits
Withdrawals
MonthlyInterestRate
CurrentBalance

Print "Input Starting Balance: "


Input StartingBalance
Print "Input total amount of Deposits: "
Input Deposits
Print "Input total amount of Withdrawals: "
Input Withdrawals
Print "Input monthly interest rate: %"
Input MonthlyInterestRate
Set MothlyInterest = StartingBalance * MonthlyInterestRate
Set CurrentBalance = StartingBalance + Deposits - Withdrawals +
MothlyInterest
Print CurrentBalance

Vous aimerez peut-être aussi