Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the Python program: In this assignment, you will be designing a software application that will help demonstrate how long it will take to pay

Write the Python program:

In this assignment, you will be designing a software application that will help demonstrate how long it will take to pay off a credit card if the card owner simply makes the minimum balance payment each month (while at the same time not adding any additional charges to the card). You must organize everything in a main function. Your program should have the following features:

A menu that provides three options for the user:

1) Credit Card Payoff Summary

2) Credit Card Payoff Details

3) Exit

Option 1 should request two pieces of data from the user:

1. current credit card balance

2. credit card Annual Percentage Rate (APR)

When user enters the requested data, the application should then present a sub-menu that allows the user to select the method by which the minimum payment is calculated. The two presented methods should be:

1) interest on current balance + 1% of current balance o 2) 2% of current balance

When user makes the selection from the sub-menu, the application should then calculate the following for each month (and repeat until the balance is zero):

minimum payment amount

interest on current balance

principal paid

remaining balance

Note: In order to make the payback process more reasonable when the balance reaches smaller amounts, credit card institutions typically implement what is referred to as an absolute minimum payment. Therefore, when your monthly calculations reach the point where the calculated minimum payment amount for the month is < $15, the calculated minimum payment should be overridden and set to $15.

When the remaining balance reaches zero, the application should present to the user the following information:

number of years required to payoff card given the minimum payment method chosen

total interest paid during that period

Option 1 Example I/O: Assuming: user chooses option 1 on the main menu and option 1 from the sub-menu, the beginning balance is $10,000 and the APR is 10%, the summary output should be:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

ISBN: 0262660709, 978-0262660709

More Books

Students also viewed these Databases questions

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago