library. For hand calculating results to test your program, the equivalent algebraic equation is: factor
The following formula will compute the Total Amount that will be accumulated for a given Monthly Amount saved: Notice that his formula also requires that you first calculate a factor…