Avatar
func getInterest(with rate: Double) -> Int { deposit(Int(Double(balance) * rate)) }