Why am I getting inf for my output?Aren’t only the loan, rate, and years initialized to zero in the constructor?
Why am I getting inf for my output?.