Mine
public java v1 · immutable /** Applies the given interest rate to the account. @param rate the percent interest to give */ public void addInterest(double rate) { double decimalInterest = rate / 100; if (this.balance > 0) { this.balance = this.balance + (decimalInterest * this.balance); } }