Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Deposit
- Public Dim Interest As Integer
- Public Dim Deposit As Integer
- Public Function TotalBalance(Year As Integer) As Integer
- Balance = Deposit * (1 + (Year * Interest))
- Return Balance
- End Function
- End Class
Add Comment
Please, Sign In to add comment